diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-22T14·31+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-09-22T14·31+0000 |
commit | 8a1ab709a47f0896cb5b47521e31c8c27f88b2b3 (patch) | |
tree | 6f22611693ac7b03903bd561cfe83c42a4596ebc /tests/lang/eval-okay-attrs.nix | |
parent | 666babbbfa2fc168b8d511a35065d352b4979dae (diff) |
* New builtin functions builtins.{hasAttr, getAttr} to check for
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)
Diffstat (limited to 'tests/lang/eval-okay-attrs.nix')
0 files changed, 0 insertions, 0 deletions