lib: Add lib.isFloat for consistency

Unlike the other three is* functions in lib.trivial, it was only
available as lib.trivial.isFloat
This commit is contained in:
Robert Hensing 2020-10-20 15:24:59 +02:00
parent c9f8f66248
commit 9a4bed1a80

View file

@ -65,7 +65,7 @@ let
lessThan listToAttrs pathExists readFile replaceStrings seq
stringLength sub substring tail;
inherit (self.trivial) id const pipe concat or and bitAnd bitOr bitXor
bitNot boolToString mergeAttrs flip mapNullable inNixShell min max
bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
importJSON importTOML warn info showWarnings nixpkgsVersion version mod compare
splitByAndCompare functionArgs setFunctionArgs isFunction toHexString toBaseDigits;
inherit (self.fixedPoints) fix fix' converge extends composeExtensions