function any(arr, contition) {
  let result = false;

  util.forEach(arr, item => {
    result = contition(item);

    return !result;
  });

  return result;
}
function any(arr, contition) {
  let result = false;

  util.forEach(arr, item => {
    result = contition(item);

    return !result;
  });

  return result;
}
function any ( arr , contition ) { let result = false ; util . forEach ( arr , item => { result = contition ( item ) ; return ! result ; } ) ; return result ; }
Whether one of them is true or not.
@param {Array} arr - target array
@param {function} contition - condition function
@returns {boolean}
@ignore
Whether one of them is true or not .
Check if any item in an array is a non - empty