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

Method nargs

core/src/callable.rs:951–953  ·  view source on GitHub ↗

Returns the total number of argument register slots.

(&self)

Source from the content-addressed store, hash-verified

949
950 /// Returns the total number of argument register slots.
951 pub fn nargs(&self) -> usize {
952 self.arg_linecols.len()
953 }
954
955 /// Returns the source position of the argument at `arg`.
956 ///

Callers 15

async_execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
async_execMethod · 0.80
parse_bound_argsFunction · 0.80
async_execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
execMethod · 0.80
async_execMethod · 0.80
execMethod · 0.80

Calls 1

lenMethod · 0.45

Tested by 3

execMethod · 0.64
execMethod · 0.64
execMethod · 0.64