@morph-l2/sdk • Docs
@morph-l2/sdk / toNumber
Function: toNumber()
toNumber(
num
):number
Converts a number-like into a number.
Parameters
• num: NumberLike
Number-like to convert into a number.
Returns
number
Number-like as a number.
Source
src/utils/coercion.ts:94