Learn R Programming

r2r (version 0.1.1)

compare_fn: Get key comparison function of an hash table

Description

Returns the key comparison function of an hash table (hashset or hashmap).

Usage

compare_fn(x)

# S3 method for r2r_hashtable compare_fn(x)

Arguments

x

an hashset or hashmap.

Value

a function.

Examples

Run this code
# NOT RUN {
s <- hashset()
compare_fn(s)
# }

Run the code above in your browser using DataLab