Functions
isLamports
isLamports(
putativeLamports
):putativeLamports is Lamports
This is a type guard that accepts a bigint
as input. It will both return true
if the integer
conforms to the Lamports type and will refine the type for use in your program.
Parameters
Parameter | Type |
---|---|
putativeLamports | bigint |
Returns
putativeLamports is Lamports