//#region ../../node_modules/unist-util-is/lib/index.js
var e = (function(e) {
	if (e == null) return a;
	if (typeof e == "function") return i(e);
	if (typeof e == "object") return Array.isArray(e) ? t(e) : n(e);
	if (typeof e == "string") return r(e);
	throw Error("Expected function, string, or object as test");
});
function t(t) {
	let n = [], r = -1;
	for (; ++r < t.length;) n[r] = e(t[r]);
	return i(a);
	function a(...e) {
		let t = -1;
		for (; ++t < n.length;) if (n[t].apply(this, e)) return !0;
		return !1;
	}
}
function n(e) {
	let t = e;
	return i(n);
	function n(n) {
		let r = n, i;
		for (i in e) if (r[i] !== t[i]) return !1;
		return !0;
	}
}
function r(e) {
	return i(t);
	function t(t) {
		return t && t.type === e;
	}
}
function i(e) {
	return t;
	function t(t, n, r) {
		return !!(o(t) && e.call(this, t, typeof n == "number" ? n : void 0, r || void 0));
	}
}
function a() {
	return !0;
}
function o(e) {
	return typeof e == "object" && !!e && "type" in e;
}
//#endregion
export { e as convert };
