summaryrefslogtreecommitdiff
path: root/node_modules/is-alphabetical/index.d.ts
blob: ceee1c6113411f84b0c47dda95609df622533f65 (plain)
1
2
3
4
5
6
7
8
/**
 * Check if the given character code, or the character code at the first
 * character, is alphabetical.
 *
 * @param {string|number} character
 * @returns {boolean} Whether `character` is alphabetical.
 */
export function isAlphabetical(character: string | number): boolean