source: node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 227 bytes
Line 
1import { toString } from '../util/toString.mjs';
2
3function normalizeForCase(str) {
4 if (typeof str !== 'string') {
5 str = toString(str);
6 }
7 return str.replace(/['\u2019]/g, '');
8}
9
10export { normalizeForCase };
Note: See TracBrowser for help on using the repository browser.