MCPcopy Create free account
hub / github.com/ccxt/ccxt / assertArgument

Function assertArgument

js/src/static_dependencies/ethers/utils/errors.js:151–153  ·  view source on GitHub ↗
(check, message, name, value)

Source from the content-addressed store, hash-verified

149 * any further code does not need additional compile-time checks.
150 */
151export function assertArgument(check, message, name, value) {
152 assert(check, message, "INVALID_ARGUMENT", { argument: name, value: value });
153}
154export function assertArgumentCount(count, expectedCount, message) {
155 if (message == null) {
156 message = "";

Callers 15

verifyBasicTypeFunction · 0.90
fromMethod · 0.90
fromFunction · 0.90
constructorFunction · 0.90
fromMethod · 0.90
fromMethod · 0.90
fromMethod · 0.90
fromMethod · 0.90
fromMethod · 0.90
constructorMethod · 0.90
#getFunctionMethod · 0.90
getFunctionNameMethod · 0.90

Calls 1

assertFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…