docs: function find(array, fn) {
      if (!(0, _is.isArray)(array)) {
          throw new Error('array should be Array type but got ' + (0, _is.whatIs)(array));
      }
      if ((0, _changlinWarning.warning)(!(0, _is.isFunction)(fn), 'fn is not function ,\'find\' will return undefined')) {
          return undefined;
      }
  
      if (array.find) {
          return array.find(fn);
      }
  
      var result = void 0;
  
      try {
          for (var i = 0; i < array.length; i++) {
              if (fn(array[i])) {
                  result = array[i];
                  break;
              }
          }
      } catch (e) {
          (0, _changlinWarning.warning)(true, e);
      }
  
      return result;
  }