2.0.20 • Published 4 years ago

@extra-string/find.min v2.0.20

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Get first character that satisfies the test, like Array.find().

This is part of package extra-string.

This is browserified, minified version of @extra-string/find. It is exported as global variable string_find. CDN: unpkg, jsDelivr.

const find = require('@extra-string/find');
// find(<string>, <testFn>, [thisArg])

find('badd0g', (v) => v>'f');
// 'g'
find('badcab', (v) => v>'f');
// undefined
find('', (v) => v>'f');
// undefined

extra-string

2.0.20

4 years ago

2.0.19

4 years ago

2.0.18

4 years ago

2.0.17

4 years ago