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

hash_fn(x)

# S3 method for class '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: 0x560233c8d000>
#> <environment: 0x560234906b88>