Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
13
node_modules/is-alphanumerical/index.js
generated
vendored
Normal file
13
node_modules/is-alphanumerical/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import {isAlphabetical} from 'is-alphabetical'
|
||||
import {isDecimal} from 'is-decimal'
|
||||
|
||||
/**
|
||||
* Check if the given character code, or the character code at the first
|
||||
* character, is alphanumerical.
|
||||
*
|
||||
* @param {string|number} character
|
||||
* @returns {boolean} Whether `character` is alphanumerical.
|
||||
*/
|
||||
export function isAlphanumerical(character) {
|
||||
return isAlphabetical(character) || isDecimal(character)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue