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

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

Added visualizations

  • Property mode set to 100644
File size: 341 bytes
Line 
1'use strict';
2
3Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
5const toString = require('../util/toString.js');
6
7function normalizeForCase(str) {
8 if (typeof str !== 'string') {
9 str = toString.toString(str);
10 }
11 return str.replace(/['\u2019]/g, '');
12}
13
14exports.normalizeForCase = normalizeForCase;
Note: See TracBrowser for help on using the repository browser.