Checks if the given string is a valid Data URI. A Data URI is a string that encodes data (typically an image) in a URL-safe format.

  • Parameters

    • value: string

      The string to validate.

    Returns boolean

    True if the string is a valid Data URI, false otherwise.