import { childMatcher } from "../matcher.js";
var filter = Array.prototype.filter;
function children() {
	return Array.from(this.children);
}
function childrenFilter(e) {
	return function() {
		return filter.call(this.children, e);
	};
}
function selectChildren_default(i) {
	return this.selectAll(i == null ? children : childrenFilter(typeof i == "function" ? i : childMatcher(i)));
}
export { selectChildren_default as default };
