source: node_modules/is-alphanumerical/index.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 330 bytes
Line 
1'use strict'
2
3var alphabetical = require('is-alphabetical')
4var decimal = require('is-decimal')
5
6module.exports = alphanumerical
7
8// Check if the given character code, or the character code at the first
9// character, is alphanumerical.
10function alphanumerical(character) {
11 return alphabetical(character) || decimal(character)
12}
Note: See TracBrowser for help on using the repository browser.