uuid.is_version4

BOOLuuid.is_version4STRINGuuid

Available inall subroutines.

Returns true if string holds a textual representation of a valid Version 4 UUID. Returns false otherwise.

Example

if (uuid.is_version4(req.http.X-Unique-Id)) {
set beresp.http.X-Unique-Id-Valid-V4 = "yes";
}