MDN’s new design is in Beta! A sneak peek:

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).


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


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,