API Documentationopen-urlOn this pageopenUrl (function) Opens the resource at the given path or URL using the operating system's default application or handler. Examples: openUrl("/home/me/stuff/code.txt"); // opens code.txt in your default text editoropenUrl("code.txt"); // same as above, using relative pathopenUrl("file:///home/me/stuff/code.txt"); // same as above, using file:// urlopenUrl("IMG_001.jpg"); // opens IMG_001.jpg in your default image vieweropenUrl("https://example.com/"); // opens example.com in your default web browser declare function openUrl(urlOrFilePath: string | Path): void;