Skip to content

isValidAmount

isValidAmount(amount) → boolean · Financial

Validates if an amount is within acceptable range (finite, not NaN).

  • amount (required): numeric value to validate
utlx
{
  valid: isValidAmount($input.total),
  canProcess: isValidAmount($input.payment) && $input.payment > 0
}

Released under AGPL-3.0.