UNPKG

jtc-utils

Version:
9 lines (8 loc) 222 B
import { windows31j } from "./charset/windows31j.mjs"; const encoder = windows31j.createEncoder(); export function isWindows31j(value) { if (!value) { return false; } return encoder.canEncode(value); }