MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / argument_count

Method argument_count

graphlite/src/functions/function_trait.rs:92–94  ·  view source on GitHub ↗

Get the number of arguments

(&self)

Source from the content-addressed store, hash-verified

90
91 /// Get the number of arguments
92 pub fn argument_count(&self) -> usize {
93 self.arguments.len()
94 }
95
96 /// Check if the function has the expected number of arguments
97 pub fn validate_argument_count(&self, expected: usize) -> FunctionResult<()> {

Callers 1

Calls 1

lenMethod · 0.45

Tested by

no test coverage detected