mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 11:55:55 +02:00
Include subcommands in help commands
(#2575)
* Add minor fixes to comments * Include subcommands in `help commands`
This commit is contained in:
@ -83,6 +83,7 @@ impl UntaggedValue {
|
||||
matches!(self, UntaggedValue::Primitive(Primitive::Filesize(_)))
|
||||
}
|
||||
|
||||
/// Returns true if this value represents a duration
|
||||
pub fn is_duration(&self) -> bool {
|
||||
matches!(self, UntaggedValue::Primitive(Primitive::Duration(_)))
|
||||
}
|
||||
|
Reference in New Issue
Block a user