@eroyeroy/utils - v0.1.0
    Preparing search index...

    Function hasMinLength

    • Returns true if the string length is at least min characters.

      Parameters

      • value: string

        The string to check.

      • min: number

        Minimum length (inclusive).

      Returns boolean

      hasMinLength("hello", 3) // => true
      hasMinLength("hi", 5) // => false