If there is no equivalent to what is suggested for checking nil parameters.
No need for this. If your function does not accept nil parameters, make sure that parameters are not optional.
If you want to claim that the value is not nil, you can use the regular statement.
assert(value != nil, "nil value")