Domo.ensure_type-exclamation-mark

You're seeing just the callback ensure_type-exclamation-mark, go back to Domo module for more information.

Specs

ensure_type!(struct :: struct()) :: struct()

Ensures that struct conforms to its t() type and all preconditions are fulfilled.

Returns struct when it's valid. Raises an ArgumentError otherwise.

Useful for struct validation when its fields changed with map syntax or with Map module functions.