about summary refs log tree commit diff
path: root/tests/lang/eval-okay-attrs2.nix
AgeCommit message (Collapse)AuthorFilesLines
2006-09-22 * New builtin functions builtins.{hasAttr, getAttr} to check forEelco Dolstra1-0/+10
attribute existence and to return an attribute from an attribute set, respectively. Example: `hasAttr "foo" {foo = 1;}'. They differ from the `?' and `.' operators in that the attribute name is an arbitrary expression. (NIX-61)