Garry's Mod Wiki

isnumber

  boolean isnumber( any variable )

Description

Returns if the passed object is a number.

Arguments

1 any variable
The variable to perform the type check for.

Returns

1 boolean
True if the variable is a number.