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

JSID_IS_GCTHING

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

Testing and conversion functions between a JS ID and a GC thing.

Syntax

bool
JSID_IS_GCTHING(jsid id);

JS::GCCellPtr
JSID_TO_GCTHING(jsid id);
Name Type Description
id jsid The property identifier to test or convert.

Description

JSID_IS_GCTHING tests whether a specified JS ID, id, is a GC thing, and returns true if it's a GC thing.

JSID_TO_GCTHING converts a specified JS ID, id to a GC thing.

See Also

Document Tags and Contributors

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