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

Method exec

core/tests/testutils/callables/array_ndims_fn.rs:54–60  ·  view source on GitHub ↗
(&self, scope: Scope<'_>)

Source from the content-addressed store, hash-verified

52 }
53
54 fn exec(&self, scope: Scope<'_>) -> CallResult<()> {
55 let ndims = {
56 let typed_ptr = scope.get_ref(0);
57 typed_ptr.array_dimensions().len() as i32
58 };
59 scope.return_integer(ndims)
60 }
61}

Callers

nothing calls this directly

Calls 4

get_refMethod · 0.80
array_dimensionsMethod · 0.80
return_integerMethod · 0.80
lenMethod · 0.45

Tested by

no test coverage detected