has-text
v1.1.1
Published
A simple search in text function. This function remove accents and transform to lowercase to search in string.
Downloads
9
Readme
Has Text
A simple search in text function. This function remove accents and transform to lowercase to search in string.
npm install --save has-text
Usage
compareText(text: string, search: string): boolean;
hasText(text: string, search: string): boolean;
hasTextIn(list: string[], search: string): boolean;
indexOfTextIn(list: string[], search: string): number;