error: string|Error = 'input is not an optional bigint'
Returns assertsinputisbigint|undefined
Example
assertIsOptionalBigInt(10n); // does not throw assertIsOptionalBigInt(undefined); // does not throw assertIsOptionalBigInt(10); // throws TypeError: input is not an optional bigint
Assert that
inputis abigintorundefined.