Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

JS_IsExternalString

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

This article covers features introduced in SpiderMonkey 17

Determines whether or not the specified JSString is an external string (that is, a string created by calling JS_NewExternalString rather than JS_NewExternalStringWithClosure).

Syntax

bool
JS_IsExternalString(JSString *str);
Name Type Description
str JSString * The string to check.

Description

JS_IsExternalString returns true if the string is an external string; otherwise it's false.

See Also

Document Tags and Contributors

 Contributors to this page: arai, fscholz, kscarfone, tschneidereit, Sheppy
 Last updated by: arai,