---
id: fn-is_none
name: is_none
category: builtins
kind: builtin
tokens: is_none
sig: is_none(o: option) -> bool
tip: True when an option is empty.
order: 19
---
Returns true when an option is empty (it is none). The complement of is_some.
Parameters:
- `o` — the option to test
```ludic
program AI {
handler Step phase Update {
let target = none()
if is_none(target) { wander() }
}
}
```