[Deprecated] This is a temporary placeholder because the functionality does not exist yet in the fs package. Do not build dependencies on connectapi::vec-cast.fs_bytes, as it will be removed without warning in a future release.

vec_cast.fs_bytes(x, to, ...)

Arguments

x

Vectors to cast

to

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

...

Dots for future extensions and should be empty

Value

A vector the same length as x with the same type as to, or an error if the cast is not possible.