safe_unbox: Extends jsonlite's safe_unbox method.

View source: R/json_utils.R

safe_unboxR Documentation

Extends jsonlite's safe_unbox method.

Description

This method adds a default value to return if its argument is null in comparison to rmzTabM::safe_unbox.

Usage

safe_unbox(x, default = NULL)

Arguments

x

the list, vector, or array object to unbox into a singleton

default

the default value to return, if x is null


lifs-tools/rmzTab-m documentation built on Jan. 26, 2023, 4:45 p.m.