We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Get index of first value that satisfies the test, like Array.findIndex().
Array.findIndex()
const findIndex = require('@extra-string/find-index'); // findIndex(<string>, <testFn>, [thisArg]) findIndex('badd0g', (v) => v>'f'); // 5 findIndex('badcab', (v) => v>'f'); // -1 findIndex('', (v) => v>'f'); // -1