Skip to content

Commit

Permalink
pkg/eval: Update doc of the "not" command.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Dec 25, 2020
1 parent 15d69f9 commit 09829ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/eval/builtin_fn_pred.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 09829ae

Please sign in to comment.