openmixer — generated API reference
    Preparing search index...

    Function nullableIntWithin

    • An INTEGER within [min, max], or null — the value an OPTIONAL numeric setting carries (a persisted port override; null is the value that says nothing is set, so a lower config layer wins again).

      REFUSES out-of-range rather than clamping: the members of a port range are identities, not a travel — "the nearest legal port to the one you typed" is a different port, and binding it silently would be exactly the applied-but-wrong answer numberEnum refuses for rates. A fraction is refused for the same reason (OUT_OF_RANGE carries the legal bounds so a client can render them).

      Parameters

      • min: number
      • max: number

      Returns FieldCodec<number | null>