Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

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,