The lookup function is returning an object, try it...
# suitescript
i
The lookup function is returning an object, try itemTypeLookup.recordtype