cast#

Path.cast()#

Cast the primitive object to the correct concrete type.

Returns:
Primitive