UNPKG

es-toolkit

Version:

A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.

9 lines (8 loc) 308 B
const require_toString = require("../util/toString.js"); //#region src/compat/_internal/normalizeForCase.ts function normalizeForCase(str) { if (typeof str !== "string") str = require_toString.toString(str); return str.replace(/['\u2019]/g, ""); } //#endregion exports.normalizeForCase = normalizeForCase;