Add isNegative() to the Type\NumberInterface

This commit is contained in:
Ben Ramsey
2020-03-06 16:59:04 -06:00
parent b31703e7c9
commit 8a8d5d4ba8
7 changed files with 103 additions and 27 deletions
+4
View File
@@ -21,4 +21,8 @@ namespace Ramsey\Uuid\Type;
*/
interface NumberInterface extends TypeInterface
{
/**
* Returns true if this number is less than zero
*/
public function isNegative(): bool;
}