Description

Retrieves the value of a switch

Usage

Parameters

  • key {Integer}

    Switch identifier

Returns

Boolean

Example

RPGJS.Switches.get(4); // returns false
RPGJS.Switches.set(4, true);
RPGJS.Switches.get(4); // returns true

Discussion