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