isValidUUID | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function isValidUUID

    • Test whether a string is a valid hex UUID

      Parameters

      • input: string

        uuid in hex format to verify. you may need to lowercase the uuid first

      • Optionalformat: "v4"

        optional, if set to "v4" it will only accept UUIDv4 format

      Returns boolean