assertTrue
This command is used to check that a value is truthy (i.e. true or populated).
Truthy examples: true
, 1
, "string".
Non-truthy examples: false
, 0
, null
.
Examples
Related Commands
Last updated
This command is used to check that a value is truthy (i.e. true or populated).
Truthy examples: true
, 1
, "string".
Non-truthy examples: false
, 0
, null
.
Last updated