null2na: Convert NULL values to NA

View source: R/utils.R

null2naR Documentation

Convert NULL values to NA

Description

Convert NULL values to NA

Usage

null2na(x)

Arguments

x

A value

Details

This is an internal function used to convert NULL values to NA. This is useful in if() statements when checking the value of an object which may possibly not exist.

This function is *not* vectorized.

Value

The value


UCANR-IGIS/uasimg documentation built on Jan. 16, 2025, 10:29 p.m.