(&self)
| 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)] |
no test coverage detected