pub unsafe extern "C-unwind" fn JSGlobalContextCopyName(
ctx: JSGlobalContextRef,
) -> JSStringRef
Available on crate features
JSContextRef
and JSBase
only.Expand description
Gets a copy of the name of a context.
Parameter ctx
: The JSGlobalContext whose name you want to get.
Returns: The name for ctx.
A JSGlobalContext’s name is exposed when inspecting the context to make it easier to identify the context you would like to inspect.