[][src]Function ul_sys::JSValueToNumber

pub unsafe extern "C" fn JSValueToNumber(
    ctx: JSContextRef,
    value: JSValueRef,
    exception: *mut JSValueRef
) -> f64

@function @abstract Converts a JavaScript value to number and returns the resulting number. @param ctx The execution context to use. @param value The JSValue to convert. @param exception A pointer to a JSValueRef in which to store an exception, if any. Pass NULL if you do not care to store an exception. @result The numeric result of conversion, or NaN if an exception is thrown.