Type Coercion Method for card_vector
vec_ptype2.card_vector.card_vector.RdType coercion method for card_vector to ensure compatibility with other card_vector objects.
Examples
# Type coercion method in action
deck1 <- card_vector(c("A♠", "10♣"))
deck2 <- card_vector(c("K♥", "Q♠"))
vctrs::vec_ptype2(deck1, deck2)
#> <card_vector[0]>