register

external fun register(name: String, fn: Function<Unit>)(source)

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

Since

v22.14.0