Chalkboard - v3.0.1
    Preparing search index...

    Function modeConfig

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

      Parameters

      • config: "boolean" | "binary"

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

      Returns void

      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