Siwe.isUri
Check if the given URI is a valid RFC 3986 URI.
Imports
Named
import { Siwe } from 'ox'Examples
import { Siwe } from 'ox'
Siwe.isUri('https://example.com/foo')
trueDefinition
function isUri(
value: string,
): false | stringSource: src/core/Siwe.ts
Parameters
value
- Type:
string
Value to check.
Return Type
false if invalid, otherwise the valid URI.
false | string

