code: function isElement(value) {
    return isNonNullObject(value) && value.nodeType === 1 && toString.call(value).indexOf('Element') > -1;
  }
docs: Check if the given value is an element.
  @param {*} value - The value to check.
  @returns {boolean} Returns `true` if the given value is an element, else `false`.