blob: bd64f01137452d1b1a46d0d8f3bfb4387feb2148 [file] [log] [blame]
name: assert
returns: void
description: Abort with an error message if `condition` evaluates to `false`.
notes:
- The `message` argument is optional since 0.53.0 and defaults to print
the condition statement.
posargs:
condition:
type: bool
description: Abort if this evaluates to `false`
optargs:
message:
type: str
description: The error message to print.