import { Hasher } from "https://deno.land/x/rimbu@1.0.4/hashed/main/index.ts";
Functions
Returns a Hasher instance that hashes any value, and traverses into an object or array to hash its elements. | |
Returns a Hasher instance that hashes any value, but never traverses into an object or array to hash its elements. In those cases it will use toString. | |
Returns a Hasher instance that hashes any value by hashing the string resulting from applying JSON.stringify to the value. | |
Returns a Hasher instance that hashes any value, but only traverses into an object or array to hash its elements one level deep. After one level, it will use toString. | |
Returns a Hasher instance that hashes the string representation of any value | |
Returns a Hasher that hashes arrays of elements by sampling the array and using
the given | |
Returns a Hasher instance that hashes bigints. | |
Returns a Hasher instance that hashes booleans. | |
Returns a Hasher instance that hashes the | |
Returns a Hasher instance that hashes Dates. | |
Returns a Hasher instance that hashes numbers, including 'special' values like NaN and infinities. | |
Returns a Hasher instance that hashes objects of key type K and value type V. If a value if an object or array, it will recursively hash its values. | |
Returns a Hasher instance that hashes objects of key type K and value type V. | |
Returns a Hasher instance that hashes objects of key type K and value type V. If a value if an object or array, it will convert those values to a string. | |
Returns a Hasher instance that hashes any StreamSource limited to a certain amount of elements to prevent haning on infinite streams. | |
Returns a Hasher instance for string values. | |
Returns a Hasher that will return equal hash values for values in a tuple regardless
of their order, and uses the given |
import { type Hasher } from "https://deno.land/x/rimbu@1.0.4/hashed/main/index.ts";
Interface used to hash objects for hashed collections.