const isAlpha = (str: string) => /^[a-zA-Z]*$/.test(str);
      
      Typescript language logo

      Is alpha

      Codiga's TypeScript Recipes

      Checks if a string contains only alpha characters.

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.