get_key: Get List Keys or Values

Description Usage Arguments Value

View source: R/libhelper.R

Description

Get the value of a list key, or the key of a list value.

Usage

1
get_key(x, l, invert = FALSE)

Arguments

x

A key or value.

l

A named list.

invert

If 'TRUE', return the key associated with the given value.

Value

A key or value.


mkoohafkan/RHDFql documentation built on April 16, 2020, 10:50 p.m.