Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/main/index.ts>Hasher.stringHasher

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function Hasher.stringHasher
import { Hasher } from "https://deno.land/x/rimbu@0.13.1/core/main/index.ts";
const { stringHasher } = Hasher;

Returns a Hasher instance for string values.

Examples

Example 1

const h = Hasher.stringHasher()
h.hash('abc')