Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.qu.ai/llms.txt

Use this file to discover all available pages before exploring further.

function getBigInt(value, name?): bigint
Gets a BigInt from value. If it is an invalid value for a BigInt, then an ArgumentError will be thrown for name.

Parameters

ParameterTypeDescription
valueBigNumberishThe value to convert.
name?stringThe name of the value.

Returns

bigint The value.

Source

utils/maths.ts:120