9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function isDataURI(uri: string): boolean;

Defined in: utils/index.d.ts:101

Returns true if the specified URI is data URI (http://en.wikipedia.org/wiki/Data_URI_scheme).

Parameters

ParameterTypeDescription
uristringThe URI.

Returns

boolean

Previous
isBoolean