compare
Stentor API Reference / stentor-utils/src / compare
Function: compare()
compare(
value1,value2,operator?):boolean
Defined in: packages/stentor-utils/src/compare.ts:16
Compare the first value to the second using the provided operator.
If no operator is provided it defaults to "==="
Parameters​
value1​
value2​
operator?​
MatchOperation = "==="
Returns​
boolean