1 2 3 4
//Gods-awful type-checking logic. //TypeName: string, Params: Array<string>|Object<string> function workOutType()