find = (set, fn) => {
	for (const item of set) {
		if (fn(item)) return item;
	}
}
@template T
@param {Set<T>} set a set
@param {(set: T) => boolean} fn selector function
@returns {T | undefined} found item