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

    Function isAlphaNumeric

    • Returns true if the string contains only alphanumeric characters (a–z, A–Z, 0–9).

      Parameters

      • value: string

        The string to check.

      Returns boolean

      isAlphaNumeric("hello123") // => true
      isAlphaNumeric("hello!") // => false
      isAlphaNumeric("") // => false