from the nlapiLookupField() documentation:
text {string} - Returns the display name for this field (valid only for SELECT fields)
Then the example: var salesrep_supervisor = nlapiLookupField('employee', salesrep, 'supervisor', true); docs say string, example shows bool. Bool makes more sense, but who knows??