diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 01:24:30 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-10-28 22:45:55 +0100 |
commit | cfab329437a24811104bc8daa2b83b80614f753c (patch) | |
tree | 406c75a90d6be8ddbc8e519ef1f8a3aa759f5269 /lib/types.nix | |
parent | 4b1a9dd00b508a3ea2273db916a600689d15f7f6 (diff) | |
download | nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar.gz nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar.bz2 nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar.lz nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar.xz nixlib-cfab329437a24811104bc8daa2b83b80614f753c.tar.zst nixlib-cfab329437a24811104bc8daa2b83b80614f753c.zip |
Use isType instead of typeOf
Diffstat (limited to 'lib/types.nix')
-rw-r--r-- | lib/types.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix index 0545cd6a3c27..aa8a371d9530 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -12,7 +12,6 @@ with lib.modules; rec { isType = type: x: (x._type or "") == type; - hasType = x: isAttrs x && x ? _type; typeOf = x: x._type or ""; setType = typeName: value: value // { |