mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-13 15:46:53 +03:00
Add isNegative() to the Type\NumberInterface
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
.. _reference.references:
|
||||
|
||||
==========
|
||||
References
|
||||
==========
|
||||
|
||||
.. [DCE11SEC] Open Group. (1997). *DCE 1.1: Authentication and Security Services*
|
||||
(Document No. C311). Retrieved from https://publications.opengroup.org/c311
|
||||
|
||||
.. [RFC4122] Leach, P., Mealling, M., & Salz, R. (2005, July). A universally
|
||||
unique identifier (UUID) URN namespace. *Internet Requests for Comments*
|
||||
(RFC 4122). RFC Editor. Retrieved from https://www.rfc-editor.org/rfc/rfc4122.html
|
||||
|
||||
.. [UUIDV6] Peabody, B. (2020, February 24). UUID format update. *Internet
|
||||
Drafts* (draft-peabody-dispatch-new-uuid-format-00). Working Draft, IETF
|
||||
Secretariat. Retrieved from
|
||||
https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-format-00
|
||||
|
||||
.. [RFC1321] Rivest, R. (1992, April). The MD5 message-digest algorithm.
|
||||
*Internet Requests for Comments* (RFC 1321). RFC Editor. Retrieved from
|
||||
https://www.rfc-editor.org/rfc/rfc1321.html
|
||||
|
||||
.. [SHA1] U.S. Department of Commerce, National Institute of Standards and
|
||||
Technology. (2015). *Secure Hash Standard (SHS)* (FIPS PUB 180-4). Retrieved
|
||||
from http://dx.doi.org/10.6028/NIST.FIPS.180-4
|
||||
@@ -26,6 +26,11 @@ Types
|
||||
|
||||
NumberInterface ensures consistency in numeric values returned by ramsey/uuid.
|
||||
|
||||
.. php:method:: isNegative()
|
||||
|
||||
:returns: True if this number is less than zero, false otherwise.
|
||||
:returntype: ``bool``
|
||||
|
||||
.. php:class:: Decimal
|
||||
|
||||
Implements :php:interface:`Ramsey\\Uuid\\Type\\NumberInterface`.
|
||||
|
||||
Reference in New Issue
Block a user