Alpha: this compiler is under active development and updates will break your projects. Not recommended for real use yet.
Skip to content

spool / hashOf

Function: hashOf() โ€‹

hashOf(text): number

Defined in: hash.ts:4

A stable 32-bit hash of text (FNV-1a), small enough for a score.

Parameters โ€‹

text โ€‹

string

Returns โ€‹

number

Released under the MIT License ยท Credits
These docs were written with AI; the layout and every page have been reviewed by a human.