mirror of
https://github.com/go-sylixos/elvish.git
synced 2024-12-05 03:17:50 +08:00
pkg/eval: Update doc of the "not" command.
This commit is contained in:
parent
15d69f98ff
commit
09829ae9cd
|
@ -62,9 +62,10 @@ func init() {
|
|||
// ▶ $true
|
||||
// ```
|
||||
//
|
||||
// **Note**: `not` is a regular command, and thus can be overriden by a
|
||||
// function definition (though you shouldn't do so), while `and` and `or` are
|
||||
// implemented as [special commands](language.html#special-commands).
|
||||
// **Note**: The related logical commands `and` and `or` are implemented as
|
||||
// [special commands](language.html#special-commands) instead, since they do not
|
||||
// always evaluate all their arguments. The `not` command always evaluates its
|
||||
// only argument, and is thus a normal command.
|
||||
//
|
||||
// @cf bool
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user