vec_cast.hms: Casting

Description Usage Arguments

View source: R/cast.R

Description

Double dispatch methods to support vctrs::vec_cast().

Usage

1
2
## S3 method for class 'hms'
vec_cast(x, to, ...)

Arguments

x

Vectors to cast.

to

Type to cast to. If NULL, x will be returned as is.

...

For vec_cast_common(), vectors to cast. For vec_cast() and vec_restore(), these dots are only for future extensions and should be empty.


krlmlr/hms documentation built on Jan. 3, 2020, 7:20 a.m.