Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

JS_IsStopIteration

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

This article covers features introduced in SpiderMonkey 31

Determine whether the value is a StopIteration exception or not.

Syntax

// Added in SpiderMonkey 42
bool
JS_IsStopIteration(JS::Value v);

// Obsolete since SpiderMonkey 42
bool
JS_IsStopIteration(jsval v);
Name Type Description
v JS::Value The value to check.

Description

JS_IsStopIteration returns true if v is StopIteration, otherwise false.

See Also

Document Tags and Contributors

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