Check operand type first.