public function Number::unit in SCSS Compiler 1.0.x
Get the unit for this number.
Return value
string|null The unit for this number.
File
- src/
Type/ Number.php, line 54
Class
- Number
- Defines a Sass number type optionally paired with a unit.
Namespace
Drupal\compiler_scss\TypeCode
public function unit() : ?string {
return $this->unit;
}