src/http/get-index/ssr.js
/**
 * Checks whether an element has an attribute.
 *
 * @param elem Element to check.
 * @param name Attribute name to look for.
 * @returns Returns whether `elem` has the attribute `name`.
 */
Checks whether an element has an attribute.
@param elem Element to check.
@param name Attribute name to look for.
@returns Returns whether `elem` has the attribute `name`.
Checks whether an element has an attribute . @param elem Element to check . @param name Attribute name to look for . @returns Returns whether ` elem ` has the attribute ` name ` .
function hasAttrib$1(elem, name) {
  return elem.attribs != null &&
  Object.prototype.hasOwnProperty.call(elem.attribs, name) &&
  elem.attribs[name] != null;
}
function hasAttrib$1 ( elem , name ) { return elem . attribs != null && Object . prototype . hasOwnProperty . call ( elem . attribs , name ) && elem . attribs [ name ] != null ; }
Checks whether an element has an attribute.
Checks whether an element has an attribute .