Function chakracore_sys::JsGetPropertyIdFromSymbol [] [src]

pub unsafe extern "system" fn JsGetPropertyIdFromSymbol(
    symbol: JsValueRef,
    propertyId: *mut JsPropertyIdRef
) -> JsErrorCode

Gets the property ID associated with the symbol. Property IDs are specific to a context and cannot be used across contexts. Requires an active script context. The symbol whose property ID is being retrieved. The property ID for the given symbol. The code JsNoError if the operation succeeded, a failure code otherwise.