MCPcopy Index your code
hub / github.com/endbasic/endbasic / get_boolean

Method get_boolean

core/src/callable.rs:968–970  ·  view source on GitHub ↗

Gets the boolean value of the argument at `arg`.

(&self, arg: u8)

Source from the content-addressed store, hash-verified

966
967 /// Gets the boolean value of the argument at `arg`.
968 pub fn get_boolean(&self, arg: u8) -> bool {
969 self.regs[self.fp + self.arg_offset + (arg as usize)] != 0
970 }
971
972 /// Gets the double value of the argument at `arg`.
973 pub fn get_double(&self, arg: u8) -> f64 {

Callers 4

execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected