To use the lowercase function from the lodash library in TypeScript, you can do the following:
index.ts19 chars2 lines
lowerCase
function from the lodash library:index.ts36 chars2 lines
index.ts96 chars3 lines
Here's the complete code:
index.ts166 chars7 lines
Note that the lowerCase
function considers the Unicode character range, so it can handle accents and other special characters correctly.
gistlibby LogSnag