$isBoolean

Returns whether or not the provided 'text' is a boolean.

🧙‍♂️ 'true' means the text is a boolean, 'false' means it isn't.

Supported Booleans

PositiveNegative
truefalse
yesno
onoff
enabledisable

Usage

$isBoolean[text]

Breakdown

  • text - The text to check.

Example

$nomention
$isBoolean[$message]

example