Closed Lea-Reif closed 2 years ago
Is there any function in order to check if an string|binary variable is an uuid?
After an exhaustive 5-minute investigation, I realized that the UUID base class has a function to check validity. I leave it here in case you need it.
\Ramsey\Uuid\Uuid::isValid($value)
Is there any function in order to check if an string|binary variable is an uuid?