function bigIntClamp(value, lower, upper): bigint;Defined in: aa-sdk/core/src/utils/bigint.ts:41
Given a bigint and a min-max range, returns the min-max clamped bigint value
| Parameter | Type | Description |
|---|---|---|
value | BigNumberish | a bigint value to clamp |
lower | any | lower bound min max tuple value |
upper | any | upper bound min max tuple value |
bigint
the clamped bigint value per given range