This article covers features introduced in SpiderMonkey 17

Determine if string is interned.

Syntax

bool
JS_StringHasBeenInterned(JSContext *cx, JSString *str);
Name Type Description
str JSString * A string to examine.

Description

JS_StringHasBeenInterned returns true if the string str is interned.

See Also