Discord.https - v3.0.16
Preparing search index...
structures/utils/Util
verifyString
Function verifyString
verifyString
(
data
:
string
,
error
:
new
(
...
a
:
any
[]
)
=>
Error
,
errorMessage
?:
string
,
allowEmpty
?:
boolean
,
)
:
string
Verifies the provided data is a string, otherwise throws the provided error.
Parameters
data
:
string
error
:
new
(
...
a
:
any
[]
)
=>
Error
errorMessage
:
string
= ...
allowEmpty
:
boolean
= true
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Discord.https - v3.0.16
Loading...
Verifies the provided data is a string, otherwise throws the provided error.