Function JSValueGetType

Source
pub unsafe extern "C" fn JSValueGetType(
    ctx: JSContextRef,
    arg1: JSValueRef,
) -> JSType
Expand description

Returns a JavaScript value’s type.

  • ctx: The execution context to use.
  • value: The JSValueRef whose type you want to obtain.

Returns a value of type JSType that identifies value’s type.