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