Configures the output mode for boolean operations. The default is "boolean".

Chalkboard.bool.modeConfig("binary"); // Sets the mode to binary
const x = Chalkboard.bool.AND(true, false); // Returns 0 in binary mode
Chalkboard.bool.modeConfig("boolean"); // Sets the mode to boolean
const y = Chalkboard.bool.AND(true, false); // Returns false in boolean mode
  • Parameters

    • config: "boolean" | "binary"

      The new mode to set, which can be either "boolean" or "binary"

    Returns void