Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ isCons
Function
isCons
packages/effect/src/List.ts:227–227 ·
view source on GitHub ↗
(self: List<A>)
Source
from the content-addressed store, hash-verified
225
* @category refinements
226
*/
227
export
const
isCons = <A>(self: List<A>): self is Cons<A> => self._tag ===
"Cons"
228
229
/**
230
* Returns the number of elements contained in the specified `List`
Callers
1
List.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected