droplast: Drops last entry in the list x if this entry is character

View source: R/cbr.R

droplastR Documentation

Drops last entry in the list x if this entry is character

Description

Drops last entry in the list x if this entry is character

Usage

droplast(x)

Arguments

x

the list

Value

list with omitted last element

Examples

a <- list(x = 5, y = "last")
cbr:::droplast(a)

bdemeshev/cbr documentation built on Sept. 23, 2024, 8:48 a.m.