Profectus / features/conversion / createCanConvertRequirement
Function: createCanConvertRequirement() ​
createCanConvertRequirement(
conversion
,minGainAmount
,display
?):Requirement
Creates requirement that is met when the conversion hits a specified gain amount
Parameters ​
conversion ​
The conversion to check the gain amount of
minGainAmount ​
MaybeRefOrGetter
<DecimalSource
> = 1
The minimum gain amount that must be met for the requirement to be met