# assert/not-nil?
Assert a value is not nil. Used inside `deftest` blocks.
## Syntax
[assert/not-nil? $x]
## Parameters
- `$x` — the value to check.
## Examples
[assert/not-nil? $user] [assert/not-nil? [map/get $m :key]]
## Returns
`true` on success; raises a runtime error on failure.
## See Also
`assert/nil?`, `assert/truthy`, `deftest`