function NilTrait::isNil
Returns true if the byte string represents a nil UUID
6 calls to NilTrait::isNil()
- Fields::getClockSeq in vendor/
ramsey/ uuid/ src/ Guid/ Fields.php - Returns the full 16-bit clock sequence, with the variant bits (two most significant bits) masked out
- Fields::getClockSeq in vendor/
ramsey/ uuid/ src/ Rfc4122/ Fields.php - Returns the full 16-bit clock sequence, with the variant bits (two most significant bits) masked out
- Fields::getVersion in vendor/
ramsey/ uuid/ src/ Guid/ Fields.php - Returns the version
- Fields::getVersion in vendor/
ramsey/ uuid/ src/ Rfc4122/ Fields.php - Returns the version
- Fields::isCorrectVariant in vendor/
ramsey/ uuid/ src/ Guid/ Fields.php
File
-
vendor/
ramsey/ uuid/ src/ Rfc4122/ NilTrait.php, line 37
Class
- NilTrait
- Provides common functionality for nil UUIDs
Namespace
Ramsey\Uuid\Rfc4122Code
public function isNil() : bool {
return $this->getBytes() === "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
}