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