lix-website/themes/lix/assets/bootstrap/node_modules/is-alphanumerical/index.js
2024-04-26 22:49:34 -06:00

13 lines
330 B
JavaScript

'use strict'
var alphabetical = require('is-alphabetical')
var decimal = require('is-decimal')
module.exports = alphanumerical
// Check if the given character code, or the character code at the first
// character, is alphanumerical.
function alphanumerical(character) {
return alphabetical(character) || decimal(character)
}