JSValueMakeNumber top-level property
Creates a JavaScript value of the number type.
ctx
The execution context to use.
number
The double to assign to the newly created JSValue.
@result
A JSValue of the number type, representing the value of number.
Implementation
final JSValueRef Function(JSContextRef ctx, double number) JSValueMakeNumber = jscLib.lookup<NativeFunction<JSValueRef Function(JSContextRef ctx, Double number)>>('JSValueMakeNumber').asFunction();