diff options
author | Robert Hensing <robert@roberthensing.nl> | 2020-10-20 15:24:59 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2020-10-22 13:46:48 +0200 |
commit | 9a4bed1a809b52626b3fa97095e4d96c67ab429e (patch) | |
tree | 90cb8c43da09c15296abf0c96407256566d03710 | |
parent | c9f8f66248dde642e7a0eea52fe4c32ddb464796 (diff) |
lib: Add lib.isFloat for consistency
Unlike the other three is* functions in lib.trivial, it was only
available as lib.trivial.isFloat
-rw-r--r-- | lib/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix index 78566cceae83..956055b70a8f 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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 |