uuid.validate
0.000001

Validates a uuid.

Arguments
no defined arguments
Return Value
true if the given uuid is valid, otherwise false.
something went wrong :(
Validating a uuid
Setup
authorization=PROCAUTH
require "proc"

client = Proc.connect("PROCAUTH")
const Proc = require("@proc.dev/client");
const client = Proc.connect("PROCAUTH");
client.uuid.validate.call(
  "396d0169-3c3c-4747-84ff-ee2ecae66c11"
)
client.uuid.validate.call(
  "396d0169-3c3c-4747-84ff-ee2ecae66c11"
);
curl "https://proc.run/uuid/validate" --silent \
--header "authorization: bearer $authorization" \
--header "content-type: text/plain" \
--data "396d0169-3c3c-4747-84ff-ee2ecae66c11"
 

true


Stuck? Want to chat about an idea? Join the community on Discord.