MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / is_nil

Method is_nil

aiscript-vm/src/value.rs:277–279  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

275 }
276
277 pub fn is_nil(&self) -> bool {
278 matches!(self, Value::Nil)
279 }
280
281 pub fn is_number(&self) -> bool {
282 matches!(self, Value::Number(_))

Callers 5

fmtMethod · 0.80
is_falsyMethod · 0.80
dispatch_nextMethod · 0.80
check_argsMethod · 0.80
validate_argsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected