validates a tokenList and returns it if it is valid, throws otherwise
the tokenList to validate
the tokenList, if valid
if the tokenList is not valid
Generated using TypeDoc
validates a tokenList and returns it if it is valid, throws otherwise