"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.parseBooleanAttr = parseBooleanAttr;
function parseBooleanAttr(attr) {
  // If it's defined but has no value, we count that as `true`.
  return attr !== undefined && attr !== 'false';
}