import { isPositive as coreIsPositive } from '@dinero.js/core' ; import type { IsPositiveParams } from '@dinero.js/core' ; param dineroObject returns export function isPositive < TAmount > ( ... [ dineroObject ] ) { const { calculator } = dineroObject ; const isPositiveFn = coreIsPositive ( calculator ) ; return isPositiveFn ( dineroObject ) ; }