Skip to content

isNumber

Toon edited this page Jan 5, 2026 · 2 revisions

Documentation

boolean isNumber(<any> value)

Description

Returns a boolean depending on whether value is a number.

Example

-- Note: This is just a snippet
-- Assume this was typed in: command 100
["Function"] = function(args, speaker) 
    print(isNumber(args[1])) --> true
end

Clone this wiki locally