Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isFile
Function
isFile
packages/effect/src/unstable/http/Multipart.ts:142–142 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
140
* @since 4.0.0
141
*/
142
export
const
isFile = (u: unknown): u is File => isPart(u) && u._tag ===
"File"
143
144
/**
145
* Multipart file part that has been written to the filesystem.
Callers
1
make
Function · 0.50
Calls
1
isPart
Function · 0.70
Tested by
no test coverage detected