Preconditions

Functions

Link copied to clipboard
open fun checkArgument(expression: Boolean)
open fun checkArgument(expression: Boolean, message: Any)
Ensures the truth of an expression involving one or more parameters to the calling method.
Link copied to clipboard
open fun checkNotNull(reference: Any)
open fun checkNotNull(reference: Any, message: Any)
Ensures that an object reference passed as a parameter to the calling method is not null.