1.0.4 • Published 6 years ago

string.prototype.has v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

string.prototype.has

Check if a string contains another string.

Installation

# With Node Package Manager
npm i -S string.prototype.has

# With Yarn
yarn add string.prototype.has

# With Bower
bower install string.prototype.has

Examples

'hello world'.has('hello') // true
'hello world'.has('o w') // true
'hello world'.has('hword') // false
'abcdef'.has('g') // false
1.0.4

6 years ago

1.0.3

6 years ago

1.0.1

6 years ago

1.0.2

6 years ago

1.0.0

6 years ago