typeptr [function]

typeptr( var )

returns type interface pointer from object variables or null pointer from other variables

typeptr( 5 ); // returns ptr(0)
typeptr( [] ); // returns ptr(...), NOT ptr(0)