MCPcopy Create free account
hub / github.com/arktypeio/arktype / isEqualityOperator

Function isEqualityOperator

ark/aot/usage.ts:1208–1209  ·  view source on GitHub ↗
(operator: string)

Source from the content-addressed store, hash-verified

1206
1207// `==`, `===`, `!=` or `!==`, which compare a reference without leaking it
1208const isEqualityOperator = (operator: string): boolean =>
1209 /^[!=]==?$/.test(operator)
1210
1211// a read of a prototype that neither mutates nor leaks it, e.g.
1212// `Array.prototype.slice.call(list)` or `proto === Object.prototype`

Callers 4

isSafePrototypeReadFunction · 0.85
buildThisReadsContextFunction · 0.85
classBindingExposesFunction · 0.85
ctorExposesPrototypeFunction · 0.85

Calls 1

testMethod · 0.80

Tested by

no test coverage detected