predictype / predicates/objects / objectPrototypeState
objectPrototypeState(
source
,oper
):boolean
Defined in: predicates/objects/objectPrototypeState.ts:16
Checks state-related properties of an object’s prototype (e.g. prototype_is_null).
object
The object to check.
The prototype state operation to perform.
boolean
True if the state check is valid according to the operator, otherwise false.
If the operation is not recognized.
Supported Operators: