Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs JavaScript instanceof
operator test.
Syntax
JsInstanceOf(
_In_ JsValueRef object,
_In_ JsValueRef constructor,
_Out_ bool *result
);
Parameters
object
The object to test.
constructor
The constructor function to test against.
result
Whether the "object instanceof constructor" is true.
Return Value
The code JsNoError
if the operation succeeded, a failure code otherwise.
Remarks
Requires an active script context.
Requirements
Header: jsrt.h