date-fns
Version:
Modern JavaScript date utility library
10 lines (6 loc) • 326 B
JavaScript
// This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
import { closestIndexTo as fn } from "../closestIndexTo.js";
import { convertToFP } from "./_lib/convertToFP.js";
export const closestIndexTo = convertToFP(fn, 2);
// Fallback for modularized imports:
export default closestIndexTo;