Math & Text
typeof
$typeof — Returns the type of a value: string, number, boolean, bigint, object or undefined.
Returns the type of a value: string, number, boolean, bigint, object or undefined.
Syntax
$typeof[value]
Parameters
- value (text, required) — The value to test.
Return Value
- string.
Usage
$typeof[12] → "number"
Example
$sendMessage[$typeof[12]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.