JS_StringHasBeenInterned

This article needs a technical review. How you can help.

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

Document Tags and Contributors

 Contributors to this page: kscarfone, arai
 Last updated by: kscarfone,