From cfab329437a24811104bc8daa2b83b80614f753c Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 28 Oct 2013 01:24:30 +0100 Subject: Use isType instead of typeOf --- lib/types.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'lib/types.nix') 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 // { -- cgit 1.4.1