MDN’s new design is in Beta! A sneak peek: https://blog.mozilla.org/opendesign/mdns-new-design-beta/

JS_StringHasBeenInterned

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,