|
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 |
|
|---|
| 3 | Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|---|
| 4 |
|
|---|
| 5 | const toString = require('../util/toString.js');
|
|---|
| 6 |
|
|---|
| 7 | function normalizeForCase(str) {
|
|---|
| 8 | if (typeof str !== 'string') {
|
|---|
| 9 | str = toString.toString(str);
|
|---|
| 10 | }
|
|---|
| 11 | return str.replace(/['\u2019]/g, '');
|
|---|
| 12 | }
|
|---|
| 13 |
|
|---|
| 14 | exports.normalizeForCase = normalizeForCase;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.