Remove lib.typeOf
It clashes with builtins.typeOf.
This commit is contained in:
parent
d74c40d6bf
commit
ebe57b1ac8
|
@ -10,7 +10,6 @@ with import ./strings.nix;
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
isType = type: x: (x._type or "") == type;
|
isType = type: x: (x._type or "") == type;
|
||||||
typeOf = x: x._type or "";
|
|
||||||
|
|
||||||
setType = typeName: value: value // {
|
setType = typeName: value: value // {
|
||||||
_type = typeName;
|
_type = typeName;
|
||||||
|
|
Loading…
Reference in a new issue