MCPcopy Create free account
hub / github.com/BuilderIO/mitosis / hashCodeAsString

Function hashCodeAsString

packages/core/src/symbols/symbol-processor.ts:187–189  ·  view source on GitHub ↗
(obj: any)

Source from the content-addressed store, hash-verified

185}
186
187export function hashCodeAsString(obj: any): string {
188 return Number(Math.abs(hashCode(obj))).toString(36);
189}
190
191export function hashCode(obj: any, hash = 0): number {
192 let value = 0;

Callers 8

createBuilderElementFunction · 0.90
blockToAngularFunction · 0.90
blockToAngularSignalsFunction · 0.90
handleTemplateLiteralFunction · 0.90
elFunction · 0.90
hash-code.test.tsFile · 0.85

Calls 2

hashCodeFunction · 0.70
toStringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…