Ponyfill: A polyfill that doesn't overwrite the native method
Install
$ npm install --save string-includes
Usage
const stringIncludes = ; ;//=> true ;//=> true ;//=> false
API
stringIncludes(string, searchString, [position])
string
Type: string
The string to search in.
searchString
Type: string
A string to be searched for.
position
Type: Number
Default: 0
The position in this string at which to begin searching for searchString
.
License
MIT © Kevin Martensson