isSinglePremiumContract: Determine whether a contract (given all parameters) is a single-premium contract or with regular premiums
Description
Single premium contracts are identified by the parameter premiumPeriod = 1
.
Usage
isSinglePremiumContract(params, values)
Value
TRUE or FALSE, indicating a single-premium contract or not
Arguments
- params
The parameters of the contract.
- values
Unused by default (already calculated values of the contract)