Function validateTokenList

  • validates a tokenList and returns it if it is valid, throws otherwise

    Parameters

    • tokenList: any

      the tokenList to validate

    Returns TokenList

    the tokenList, if valid

    Throws

    if the tokenList is not valid

Generated using TypeDoc