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

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

Returns true if the specified path points to a resource or local file.

Parameters

ParameterTypeDescription
pathstringThe path.

Returns

boolean

Previous
isEmoji