within
bitcoinjs-lib / within
Function: within()
within(
value
,lower
,upper
):boolean
Defined in: packages/scrypt-ts-btc/src/smart-contract/fns/math.ts:36
Checks whether a Int32 value is strictly between two other Int32 values.
Parameters
value
The Int32 value to check
lower
The lower bound (exclusive)
upper
The upper bound (exclusive)
Returns
boolean
True if value is strictly between lower and upper, otherwise false.