Condividi tramite


JsHasExternalData Function

Determines whether an object is an external object.

Syntax

STDAPI_(JsErrorCode) JsHasExternalData(  
   _In_ JsValueRef object,  
   _Out_ bool *value  
);  

Parameters

object
The object.

value
Whether the object is an external object.

Return Value

The code JsNoError if the operation succeeded, a failure code otherwise.

Remarks

Requires an active script context.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)