'use strict';

/**
* Find elements in an array-like object that satisfy a test condition.
*
* @module @stdlib/utils/find
*
* @example
* var find = require( '@stdlib/utils/find' );
*
* var data = [ 30, 20, 50, 60, 10 ];
*
* function condition( val ) {
*     return val > 20;
* }
*
* var vals = find( data, condition );
* // returns [ 0, 2, 3 ]
*
* data = [ 30, 20, 50, 60, 10 ];
* var opts = {
*     'k': 2,
*     'returns': 'values'
* };
* vals = find( data, opts, condition );
* // returns [ 30, 50 ]
*/

// MODULES //

var find = require( './find.js' );


// EXPORTS //

module.exports = find;

'use strict';

/**
* Find elements in an array-like object that satisfy a test condition.
*
* @module @stdlib/utils/find
*
* @example
* var find = require( '@stdlib/utils/find' );
*
* var data = [ 30, 20, 50, 60, 10 ];
*
* function condition( val ) {
*     return val > 20;
* }
*
* var vals = find( data, condition );
* // returns [ 0, 2, 3 ]
*
* data = [ 30, 20, 50, 60, 10 ];
* var opts = {
*     'k': 2,
*     'returns': 'values'
* };
* vals = find( data, opts, condition );
* // returns [ 30, 50 ]
*/

// MODULES //

var find = require( './find.js' ); // eslint-disable-line no-redeclare


// EXPORTS //

module.exports = find;

Disable no-redeclare for non-standard `find` identifier
Disable no-redeclare for non-standard `find` identifier
