SassScriptFunctions::unit
Inspects the unit of the number, returning it as a quoted string.
Alias for units.
Signature
public function unit(
$number )
Parameters
$number
—
Returns
- new
- SassString The units of the number
Errors/Exceptions
-
SassScriptFunctionException
- If $number is not a number