UNPKG

jtc-utils

Version:
8 lines (6 loc) 153 B
export function isHiragana(value: string | null | undefined) { if (!value) { return false; } return /^[\u3000\u3041-\u3096]+$/.test(value); }