about summary refs log tree commit diff
path: root/tvix/eval/src/tests/tvix_tests/eval-okay-builtins-hasattr.nix
[
  (builtins.hasAttr "foo" { foo = 1; bar = 2; baz = 3; })
  (builtins.hasAttr "bar" { foo = 1; bar = 2; baz = 3; })
  (builtins.hasAttr "baz" { foo = 1; bar = 2; baz = 3; })
  (builtins.hasAttr "FOO" { foo = 1; bar = 2; baz = 3; })
  (builtins.hasAttr "foo" { })
  (builtins.hasAttr ("f" + "o" + "o") { foo = 1; })
  (builtins.hasAttr ("b" + "a" + "r") { foo = 1; })
]