import { hasSubUnits as coreHasSubUnits } from '@dinero.js/core' ; import type { HasSubUnitsParams } from '@dinero.js/core' ; param dineroObject returns export function hasSubUnits < TAmount > ( ... [ dineroObject ] ) { const { calculator } = dineroObject ; const hasSubUnitsFn = coreHasSubUnits ( calculator ) ; return hasSubUnitsFn ( dineroObject ) ; }