JSValueMakeSymbol top-level property
Creates a JavaScript value of the symbol type.
ctx
(JSContextRef) The execution context to use.
description
(JSStringRef) A description of the newly created symbol value.
@result
(JSValueRef) A unique JSValue of the symbol type, whose description matches the one provided.
Implementation
final JSValueRef Function(JSContextRef ctx, JSStringRef description)
JSValueMakeSymbol =
kLookup<NativeFunction<JSValueRef Function(JSContextRef, JSStringRef)>>(
'JSValueMakeSymbol',
).asFunction();