openmixer — generated API reference
    Preparing search index...

    Function routeGateParam

    • Resolve a generic gate control onto the /gate row's field. A string is not a value any gate field accepts (on is a boolean, everything else a number), so it refuses rather than handing the row a value its codec would silently drop.

      Parameters

      • paramId: string
      • value: string | number | boolean

      Returns { field: keyof GateState; row: "gate"; value: number | boolean } | null