Returns the hash function used for key hashing in an hash table (hashset or hashmap).

hash_fn(x)

# S3 method for r2r_hashtable
hash_fn(x)

Arguments

x

an hashset or hashmap.

Value

a function.

Author

Valerio Gherardi

Examples

s <- hashset() hash_fn(s)
#> function (x) #> hash_fn(key_preproc_fn(x)) #> <bytecode: 0x55a10d88e3a0> #> <environment: 0x55a10d8157d8>