src/artoo.helpers.js
function first(a, fn, scope) {
    for (var i = 0, l = a.length; i < l; i++) {
      if (fn.call(scope || null, a[i]))
        return a[i];
    }
    return;
  }
function first(a, fn, scope) {
    for (var i = 0, l = a.length; i < l; i++) {
      if (fn.call(scope || null, a[i]))
        return a[i];
    }
    return;
  }
function first ( a , fn , scope ) { for ( var i = 0 , l = a . length ; i < l ; i ++ ) { if ( fn . call ( scope || null , a [ i ] ) ) return a [ i ] ; } return ; }
Get first item of array returning true to given function
Get first item of array returning true to given function