grapes-l0-greater-than-grapes: %l0>%

Description Usage Arguments Examples

Description

If length(lhs) == 0, then change to rhs

Usage

1
lhs %l0>% rhs

Arguments

lhs

arg to check

rhs

arg to return if lhs length is 0

Examples

1
list(1, integer(0), character(0), numeric(0), NA,24) %l0>% 666

Tazovsky/utilities documentation built on May 8, 2019, 11:43 a.m.