import { safeLessThanOrEqual } from '@dinero.js/core' ; import type { LessThanOrEqualParams } from '@dinero.js/core' ; param dineroObject param comparator returns export function lessThanOrEqual < TAmount > ( ... [ dineroObject , comparator ] ) { const { calculator } = dineroObject ; const lessThanOrEqualFn = safeLessThanOrEqual ( calculator ) ; return lessThanOrEqualFn ( dineroObject , comparator ) ; }