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

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
Johannes KirschbauerandValentin Gagarin authored and GitHub committed 2023-10-20 03:11:03 +00:00
1 parent 42f26eb42e
commit e58566a057
1 file changed
+2
+2
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*.
The result is a [Boolean] value.
See also: [`builtins.hasAttr`](@docroot@/language/builtins.md#builtins-hasAttr)
[Boolean]: ./values.md#type-boolean
[Has attribute]: #has-attribute