//#region ../../node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js
function e(e, n) {
	return t(e, n.inConstruct, !0) && !t(e, n.notInConstruct, !1);
}
function t(e, t, n) {
	if (typeof t == "string" && (t = [t]), !t || t.length === 0) return n;
	let r = -1;
	for (; ++r < t.length;) if (e.includes(t[r])) return !0;
	return !1;
}
//#endregion
export { e as patternInScope };
