SassScriptFunctions::unitless
Inspects the unit of the number, returning a boolean indicating if it is unitless.
Signature
public function unitless(
$number )
Parameters
$number
—
Returns
- new
- SassBoolean True if the number is unitless, false if it has units.
Errors/Exceptions
-
SassScriptFunctionException
- If $number is not a number