Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « is-alphanumerical « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cd5edef3dbf03c9632db09bf84594effcee37ee9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'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)
}