blob: bd64f01137452d1b1a46d0d8f3bfb4387feb2148 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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.
|