get_key: Get List Keys or Values

View source: R/helper.r

get_keyR Documentation

Get List Keys or Values

Description

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

Usage

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/hdfqlr documentation built on Jan. 10, 2024, 11:04 p.m.