We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

JS_IsStopIteration

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,