assertNumber method
Throws a SassScriptException
if this
isn't a number.
If this came from a function argument, name
is the argument name
(without the $
). It's used for error reporting.
Implementation
SassNumber assertNumber([String? name]) => this;