Determines whether a given string is a file:// URL.
Import:
import { isFileUrl } from 'obsidian-dev-utils/url';
Signature:
function isFileUrl($string: string): boolean
Parameters:
| Parameter | Type | Description |
|---|
$string | string | |
Returns: boolean — true if the string uses the file: scheme, otherwise false.