IsDocumented Function

Returns whether the script command or function is documented. Also states whether the input value is a command or function.

Arguments

Number Type Compulsory Default Description
1 string Yes Command or function name

Returns

Return type: integer

0 if the command or function does not exist or is not documented. 1 if it is a documented command, 2 if it is a documented function.