code: function isArray(value) {
          // check native isArray first
          if (Array.isArray) {
              return Array.isArray(value);
          }
  
          return toString.call(value) === '[object Array]';
      }
docs: Check if the given value is an array.
  
  @category Validate
  @param {*} value - The value to check.
  @return {boolean} Returns 'true' if the given value is a string, else 'false'.