# 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

```yaml
- assertTrue: ${"a" === "a"}
```

## Related Commands

[assertvisible](https://docs.moropo.com/creating-tests/commands/assertvisible "mention")

[assertnotvisible](https://docs.moropo.com/creating-tests/commands/assertnotvisible "mention")
