openmixer — generated API reference
    Preparing search index...

    Function position

    • Tag n as a Position.

      It does NOT clamp and does NOT refuse: range is the business of the codec that admits the value from the wire, and a silent clamp here would turn a caller's defect into a plausible number — the failure mode this whole module exists to remove. Its one job is to name the quantity, at the one place a bare number becomes one.

      Parameters

      • n: number

        a number already known to be a taper position

      Returns Position