You also can chain call with ()
from pattern(value)
will call PatternMatching.exec with value from pattern
set [[defaultEvaluator]] with evaluator param
if evaluator is not an Evaluator, use returnValue
You can end chain call with exec()
from pattern(value)
will call PatternMatching.exec with value from pattern
Add in [[stack]] an entry of <Predicate
if comparator is not a Predicate, use objectStrictLike if typeof comparator is object else strictEqual
if evaluator is not an Evaluator, use returnValue
Generated using TypeDoc
Proxy of PatternMatching generated by pattern