import { childMatcher } from "../matcher.js";
var find = Array.prototype.find;
function childFind(e) {
	return function() {
		return find.call(this.children, e);
	};
}
function childFirst() {
	return this.firstElementChild;
}
function selectChild_default(i) {
	return this.select(i == null ? childFirst : childFind(typeof i == "function" ? i : childMatcher(i)));
}
export { selectChild_default as default };
