Skip to content

$isValidLink

$isValidLink will check if the given link is valid.

Usage

$isValidLink[URL]

Parameters

FieldTypeDescriptionRequired
URLstringAny kind of URL.true

Example(s)

This will return true as the given link is valid:

1
client.command({
2
name: "isValidLink",
3
code: `
4
$isValidLink[https://aoi.js.org/docs/]
5
`
6
});