Skip to content

Commit

Permalink
docs: make --no- boolean prefix easier to find in the docs (#1338)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewFinlay authored and bcoe committed May 5, 2019
1 parent 84cac07 commit 843e939
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.md
Expand Up @@ -80,6 +80,8 @@ Interpret `key` as a boolean. If a non-flag option follows `key` in
`key` will default to `false`, unless a `default(key, undefined)` is
explicitly set.

`key` can be set false explicitly using the `--no-` prefix, [more](/docs/tricks.md#negate).

If `key` is an array, interpret all the elements as booleans.

.check(fn, [global=true])
Expand Down

0 comments on commit 843e939

Please sign in to comment.