Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ clear
Method
clear
packages/zod/src/v4/core/registries.ts:45–49 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
}
44
45
clear(): this {
46
this._map =
new
WeakMap();
47
this._idmap =
new
Map();
48
return
this;
49
}
50
51
remove(schema: Schema): this {
52
const
meta: any = this._map.get(schema);
Callers
1
registries.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected