Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isHash
Function
isHash
packages/effect/src/Hash.ts:320–320 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
318
* @since 2.0.0
319
*/
320
export
const
isHash = (u: unknown): u is Hash => hasProperty(u, symbol) && typeof u[symbol] ===
"function"
321
322
const
float64 =
new
DataView(
new
ArrayBuffer(8))
323
Callers
1
hash
Function · 0.85
Calls
1
hasProperty
Function · 0.90
Tested by
no test coverage detected