Garry's Mod Wiki

isfunction

  boolean isfunction( any variable )

Description

Returns if the passed object is a function.

Arguments

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

Returns

1 boolean
True if the variable is a function.