SassLiteral::assertInRange
Asserts that the value of a literal is within the expected range
Signature
public function assertInRange(
$literal,
$min,
$max,
[string
$units = ''] )
Parameters
$literal
—$min
—$max
—$units
— string
Errors/Exceptions
-
SassScriptFunctionException
- if value is not the expected type