JSGlobalContextCopyName top-level property
Gets a copy of the name of a context.
A JSGlobalContext's name is exposed for remote debugging to make it
easier to identify the context you would like to attach to.
ctx
(JSGlobalContextRef) The JSGlobalContext whose name you want to get.
@result
(JSStringRef) The name for ctx.
Implementation
final JSStringRef Function(JSGlobalContextRef ctx) JSGlobalContextCopyName =
kLookup<NativeFunction<JSStringRef Function(JSGlobalContextRef)>>(
'JSGlobalContextCopyName',
).asFunction();