MCPcopy Create free account
hub / github.com/Project-DARC/DARC / isValidBigIntOrNumber

Function isValidBigIntOrNumber

darc-js/src/SDK/opcodes/utils.ts:60–68  ·  view source on GitHub ↗
(input: any)

Source from the content-addressed store, hash-verified

58}
59
60function isValidBigIntOrNumber(input: any): boolean {
61 if (typeof input === "bigint") {
62 return true;
63 }
64 else if (typeof input === "number") {
65 return true;
66 }
67 return false;
68}
69
70
71export {

Callers 1

OPCODE_ID_26_PAY_CASHFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected