hasName: Backport of hasName for R < 3.4.0

Description Usage Examples

View source: R/hasName.R

Description

See the original description in utils::hasName.

Usage

1

Examples

1
2
3
4
5
# get function from namespace instead of possibly getting
# implementation shipped with recent R versions:
bp_hasName = getFromNamespace("hasName", "backports")

bp_hasName(list(a = 1, b = 2), c("a", "b", "c"))

backports documentation built on Dec. 13, 2021, 5:08 p.m.