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

Method array_dimensions

core/src/callable.rs:816–818  ·  view source on GitHub ↗

Dereferences this register reference as an array and returns its dimensions.

(&self)

Source from the content-addressed store, hash-verified

814
815 /// Dereferences this register reference as an array and returns its dimensions.
816 pub fn array_dimensions(&self) -> &[usize] {
817 array_dimensions(self.scope.regs, self.index, self.scope.heap)
818 }
819
820 /// Dereferences this register reference as an integer array and returns an element.
821 pub fn deref_array_integer(&self, subscripts: &[i32]) -> Result<i32, String> {

Callers 3

execMethod · 0.80
parse_bound_argsFunction · 0.80

Calls 1

array_dimensionsFunction · 0.85

Tested by 1

execMethod · 0.64