
{{alias}}( arrays, clbk[, thisArg] )
    Returns the index of the first element in a one-dimensional ndarray which
    passes a test implemented by a predicate function.

    If provided an empty ndarray or no element passes a test implemented by a
    predicate function, the function returns `-1`.

    The callback function is provided three arguments:

    - value: current array element.
    - index: current array index.
    - array: the input ndarray.

    Parameters
    ----------
    arrays: ArrayLikeObject<ndarray>
        Array-like object containing a one-dimensional input ndarray.

    clbk: Function
        Callback function.

    thisArg: any (optional)
        Callback execution context.

    Returns
    -------
    out: integer
        Index.

    Examples
    --------
    > var x = {{alias:@stdlib/ndarray/vector/ctor}}( [ 1.0, -2.0, 2.0 ], 'generic' );
    > function f ( v ) { return v % 2.0 === 0.0; };
    > {{alias}}( [ x ], f )
    1

    See Also
    --------

