predictype / predicates/objects / objectInstanceRelation
objectInstanceRelation(
source
,oper
,target
):boolean
Defined in: predicates/objects/objectInstanceRelation.ts:18
Checks instance or prototype relation between two values using the specified operation.
any
The value to check.
The relation operation to perform (e.g. ‘instance_of’, ‘prototype_of’).
any
The target to compare against.
boolean
True if the relation check is valid according to the operator, otherwise false.
If the operation is not recognized.
Supported Operators: