"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const re = /[ \t\n\f\r]/g;
function whitespace(thing) {
  return typeof thing === "object" ? thing.type === "text" ? empty(thing.value) : false : empty(thing);
}
function empty(value) {
  return value.replace(re, "") === "";
}
exports.whitespace = whitespace;
//# sourceMappingURL=lib-index.cjs.map
