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

Method is_argless

core/src/callable.rs:704–706  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

702 /// Returns true if this is a callable that takes no arguments.
703 #[allow(unused)]
704 pub fn is_argless(&self) -> bool {
705 self.syntaxes.is_empty() || (self.syntaxes.len() == 1 && self.syntaxes[0].is_empty())
706 }
707
708 /// Returns true if this callable is a function (not a command).
709 #[allow(unused)]

Callers 2

compile_exprFunction · 0.80
describeMethod · 0.80

Calls 2

is_emptyMethod · 0.45
lenMethod · 0.45

Tested by

no test coverage detected