Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 330 Bytes

isValidAlphanumeric.md

File metadata and controls

17 lines (10 loc) · 330 Bytes

isValidAlphanumeric

Validates if the string has only characters and numbers.

Arguments

  • value: string: value to be validated

Usage

import { isValidAlphanumeric } from '@platformbuilders/validations';

isValidAlphanumeric('Glauber'); // return false

isValidAlphanumeric('Glauber2021'); // return true