Function isStringUUID

  • Checks if the given value is a valid UUID

    Returns

    Whether or not the given string is valid

    Parameters

    • value: unknown

      The value to check for

    • dashes: boolean = true

      Whether or not the given value includes dashes (defaults to true)

    Returns value is string

Generated using TypeDoc