What is the datatype of the pinMode function?
pinMode(pin, Mode); is a void. It doesn't return anything. It simply sets a pin as an OUTPUT or an INPUT.
It says it in the link you posted.

Returns
None

That means that the function doesn't return any value.