lix-website/themes/lix/assets/bootstrap/node_modules/is-alphanumerical/index.js

13 lines
330 B
JavaScript
Raw Normal View History

2024-04-27 03:39:10 +00:00
'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)
}