interpolateLadder
interpolateLadder(
points,amount):bigint|null
A ladder's output at amount (§7): proportional below the first point, linear between
points, none above the last. Integer division, truncating toward zero.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
points |
[string, string][] |
amount |
bigint |
Returns
Section titled “Returns”bigint | null