• Tries to create a range constraint.

    Returns

    A constraint or null if not found.

    Parameters

    • params: {
          max?: number;
          min?: number;
      }

      The input parameters object.

      • Optional max?: number
      • Optional min?: number

    Returns Constraint<number> | null

Generated using TypeDoc