Checks if the length of a string falls within a specified range.

  • Parameters

    • value: string

      The string to validate.

    • options: IsLengthOptions = {}

      Options for length validation.

    Returns boolean

    true if the string's length is within the range, false otherwise.