mirror of
https://github.com/praktimarc/kst4contest.git
synced 2026-07-14 00:26:52 +02:00
Add initial 11ty website structure
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import {isAlphabetical} from 'is-alphabetical'
|
||||
import {isDecimal} from 'is-decimal'
|
||||
|
||||
/**
|
||||
* Check if the given character code, or the character code at the first
|
||||
* character, is alphanumerical.
|
||||
*
|
||||
* @param {string|number} character
|
||||
* @returns {boolean} Whether `character` is alphanumerical.
|
||||
*/
|
||||
export function isAlphanumerical(character) {
|
||||
return isAlphabetical(character) || isDecimal(character)
|
||||
}
|
||||
Reference in New Issue
Block a user