Returns the key comparison function of an hash table
(hashset
or hashmap
).
compare_fn(x) # S3 method for r2r_hashtable compare_fn(x)
x | an |
---|
a function.
Valerio Gherardi
#> function (x, y) #> compare_fn(key_preproc_fn(x), key_preproc_fn(y)) #> <bytecode: 0x55a10d88e100> #> <environment: 0x55a10d891718>