spatial-controls - v6.2.0
    Preparing search index...

    Type Alias Constraint<T>

    Constraint: (value: T) => T

    Constrains a given value.

    Type Parameters

    • T

      The type of the value that will be constrained.

    Type declaration

      • (value: T): T
      • Parameters

        • value: T

          The value to constrain.

        Returns T

        The constrained value.