doc: add reference to hasAttr in ? operator (#9185)

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Johannes Kirschbauer 2023-10-20 05:11:03 +02:00 committed by GitHub
parent 42f26eb42e
commit e58566a057
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,6 +59,8 @@ An attribute path is a dot-separated list of [attribute names](./values.md#attri
Test whether [attribute set] *attrset* contains the attribute denoted by *attrpath*. Test whether [attribute set] *attrset* contains the attribute denoted by *attrpath*.
The result is a [Boolean] value. The result is a [Boolean] value.
See also: [`builtins.hasAttr`](@docroot@/language/builtins.md#builtins-hasAttr)
[Boolean]: ./values.md#type-boolean [Boolean]: ./values.md#type-boolean
[Has attribute]: #has-attribute [Has attribute]: #has-attribute