function
is_none
is_none(o: option) -> bool
Parameters
othe option to testExample
program AI {
handler Step phase Update {
let target = none()
if is_none(target) { wander() }
}
}is_none(o: option) -> bool
othe option to testprogram AI {
handler Step phase Update {
let target = none()
if is_none(target) { wander() }
}
}