added arrow object detection to as_typed_vector