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