opCast()

Let’s learn about the opCast function that is used for type conversions.

We'll cover the following...

opCast for type conversions

opCast defines explicit type conversions. It can be overloaded separately for each target type. As you might ...