• Checks whether the target is a valid UUID

    Example

    expect(isUUID('A987FBC9-4BED-3078-CF07-9141BA07C9F3').value).toBeTruthy()
    

    Parameters

    • target: string

      The target string

    • Optional version: string

      The version

    Returns Result<boolean | undefined>

Generated using TypeDoc