Defines a new assertion function with the provided name and function. If an assertion already exists with the same name, it is overwritten.
function
function
Defines a new assertion function with the provided name and function. If an assertion already exists with the same name, it is overwritten.