Binance Web3 Connector JS
    Preparing search index...

    Variable assertParamExistsConst

    assertParamExists: (
        functionName: string,
        paramName: string,
        paramValue: unknown,
    ) => void

    Asserts that a function parameter exists and is not null or undefined.

    Type Declaration

      • (functionName: string, paramName: string, paramValue: unknown): void
      • Parameters

        • functionName: string

          The name of the function that the parameter belongs to.

        • paramName: string

          The name of the parameter to check.

        • paramValue: unknown

          The value of the parameter to check.

        Returns void

    If the parameter is null or undefined.