craydent.indexofalt
v1.0.2
Published
<img src="http://craydent.com/JsonObjectEditor/img/svgs/craydent-logo.svg" width=75 height=75/>
Downloads
39
Readme
Craydent 1.0.2
by Clark Inada
Craydent is all inclusive utility library. There are several ways to use the library in NodeJS. More detailed documentation on constants can be found at Craydent Properties. More detailed documentation on methods can be found at Craydent Methods
// require - this require is the fully modular version with no global constants, prototypes, or methods.
const indexOfAlt = require('craydent.indexOfAlt').default;
// import - this require is the fully modular version with no global constants, prototypes, or methods.
import indexOfAlt from 'craydent.indexOfAlt';
indexOfAlt
Info: Array class extension to find index of a value based on a callback function & String class extension to find the index based on a regular expression
Return: (Int) returns the index of the item that matches or -1.
Parameters:
None
Overloads:
None
Download
- GitHub
- BitBucket
- GitLab Craydent is released under the Dual licensed under the MIT or GPL Version 2 licenses.