Closed smfoote closed 9 years ago
Instead of having a bunch of logic in the function code to check that a param exists and is of the right type, handle that logic in td.assert, that throws errors with useful descriptions when something is not right.
td.assert
Instead of having a bunch of logic in the function code to check that a param exists and is of the right type, handle that logic in
td.assert
, that throws errors with useful descriptions when something is not right.