MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

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,