LOG IN SIGN UP
Documentation

uuid.is_valid()

Returns true if the string holds a textual representation of a valid UUID (per RFC4122). False otherwise.

Format

BOOL
uuid.is_valid(STRING string)

Examples

1
2
3
if (uuid.is_valid(req.http.X-Unique-Id)) {
  set beresp.http.X-Unique-Id-Valid = "yes";
}