as.type_or_null: Converts object to certain type, preserving the NULL value.

Description Usage Arguments Value

Description

Converts object to certain type, preserving the NULL value.

Usage

1
as.type_or_null(x, as.type)

Arguments

x

Object to cast.

as.type

A casting function for x

Value

x casted, or NULL.


jlsuarezdiaz/rDML documentation built on May 24, 2019, 12:35 a.m.