Learn R Programming

tableschema.r (version 1.1.2)

types.castAny: Cast any value

Description

Cast any value

Usage

types.castAny(format, value)

Arguments

format

any format is accepted

value

any value to cast

Details

Any type or format is accepted.

See Also

Examples

Run this code

types.castAny(format = "default", value = 1)

types.castAny(format = "default", value = "1")

types.castAny(format = "default", value = "")

types.castAny(format = "default", value = TRUE)

Run the code above in your browser using DataLab