code: function isArray(val) {
      /* istanbul ignore if */
      if (!Array.isArray)
          return constant_1.toStr.call(val) === '[object Array]';
      return Array.isArray(val);
  }
docs: Is Array
  Check if value is an array.
  
  @param val the value to test if is array.