Search notes:

R source file: src/main/util.c

Among others, src/main/util.c defines the struct TypeTable which defines the possible return values for the R function typeof(obj).

Links

https://github.com/wch/r-source/blob/trunk/src/main/util.c

Index