pattern.is()
The pattern.is()
function checks whether the $value
is a map pattern.
Parameters
$value
$value
A value to check against it's a pattern.
$pattern: map.values($pattern)
$pattern: map.values($pattern)
A list of patterns to check.
Return
The return value is a bool
indicating the $value
is a pattern of $pattern
.
Examples
Last updated