keys: List all keys from an hash table

View source: R/generics.R

keysR Documentation

List all keys from an hash table

Description

These generics are used for listing all keys registered in an hashset or hashmap, respectively.

Usage

keys(x)

## S3 method for class 'r2r_hashtable'
keys(x)

Arguments

x

an hashset or hashmap.

Value

a list. Registered keys in the hash table x.

Author(s)

Valerio Gherardi

Examples

s <- hashset(1, 2, 3)
keys(s)

r2r documentation built on April 3, 2025, 10:57 p.m.