We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b744041 commit 79385bdCopy full SHA for 79385bd
src/Type/TypeCombinator.php
@@ -1341,4 +1341,9 @@ public static function removeFalsey(Type $type): Type
1341
return self::remove($type, StaticTypeFactory::falsey());
1342
}
1343
1344
+ public static function removeTruthy(Type $type): Type
1345
+ {
1346
+ return self::remove($type, StaticTypeFactory::truthy());
1347
+ }
1348
+
1349
0 commit comments