JSGlobalContextCopyName top-level property

JSStringRef Function(JSGlobalContextRef ctx) JSGlobalContextCopyName
final

Gets a copy of the name of a context. ctx The JSGlobalContext whose name you want to get. @result The name for ctx. @discussion A JSGlobalContext's name is exposed for remote debugging to make it easier to identify the context you would like to attach to.

Implementation

final JSStringRef Function(JSGlobalContextRef ctx) JSGlobalContextCopyName = jscLib.lookup<NativeFunction<JSStringRef Function(JSGlobalContextRef ctx)>>('JSGlobalContextCopyName').asFunction();