treewide: lib.isInOldestRelease -> lib.oldestSupportedReleaseIsAtLeast

This commit is contained in:
Robert Hensing
2024-10-08 11:14:24 +02:00
parent c2b411e674
commit 729225e355
8 changed files with 15 additions and 15 deletions

View File

@@ -2272,7 +2272,7 @@ rec {
isCoercibleToString :: a -> bool
```
*/
isCoercibleToString = lib.warnIf (lib.isInOldestRelease 2305)
isCoercibleToString = lib.warnIf (lib.oldestSupportedReleaseIsAtLeast 2305)
"lib.strings.isCoercibleToString is deprecated in favor of either isStringLike or isConvertibleWithToString. Only use the latter if it needs to return true for null, numbers, booleans and list of similarly coercibles."
isConvertibleWithToString;