cleaned up viewers

This commit is contained in:
Andrea Pozzetti
2026-02-12 21:30:40 +01:00
parent a04466be8d
commit 1ee4969db6
5455 changed files with 619361 additions and 5667 deletions
+6
View File
@@ -0,0 +1,6 @@
import leastIndex from "./leastIndex.js";
export default function scan(values, compare) {
const index = leastIndex(values, compare);
return index < 0 ? undefined : index;
}