PURPOSE: Determine the type of data stored or referenced by a variable.
SYNTAX: data:Anything call fNGetType
RETURNS: Integer type of data
0 case data was a Boolean value
1 case data was a null group
2 case data was a null object
3 case data was a Side
4 case data was a CharArray
5 case data was an Array
6 case data was a String, Number, Object or other unknown type to function
-1 case error occurs
Nothing case data did not exist at all
DESCRIPTION: The fNGetType function takes 1 parameter and is used to detect the type of data stored or referenced in the parameter.
EXAMPLES:
grpNull call fNGetType => 1
[1,2,[3]] call fNGetType => 5
["a","b"] call fNGetType => 4
HISTORY: CoC bn880 02/06/2003
DEPENDENCIES: CoC_LIBNUMSYS, CoC_LIBNETWORK