import { ComparisonOperator } from '@dinero.js/core' ; import type { BinaryOperation } from '@dinero.js/core' ; param a param b returns export const compare = ( a , b ) => { if ( a < b ) { return ComparisonOperator . LT ; } if ( a > b ) { return ComparisonOperator . GT ; } return ComparisonOperator . EQ ; } ;