import { safeLessThan } from '@dinero.js/core' ; import type { LessThanParams } from '@dinero.js/core' ; param dineroObject param comparator returns export function lessThan < TAmount > ( ... [ dineroObject , comparator ] ) { const { calculator } = dineroObject ; const lessThanFn = safeLessThan ( calculator ) ; return lessThanFn ( dineroObject , comparator ) ; }