Function isAlphaNumeric

  • Returns a boolean value denoting whether the input string contains only alphanumeric characters

    Example

    Returns true

    isAlphaNumeric("foo123");
    

    Example

    Returns false

    isAlphaNumeric("foo@bar");
    

    Parameters

    • str: string

    Returns boolean

Generated using TypeDoc