• Tests whether the target string is a data URI

    Example

    expect(isDataURI('data:,A%20brief%20note').value).toBeTruthy()
    

    Returns

    true if the target is a data URI, false otherwise

    Parameters

    • target: string

      The target string

    Returns Result<boolean | undefined>

Generated using TypeDoc