Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Effect-TS/effect
/ head
Method
head
packages/effect/src/internal/ringBuffer.ts:15–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
}
14
15
head(): Option.Option<A> {
16
return
Option.fromNullable(this.array[this.current])
17
}
18
19
lastOrNull(): A | undefined {
20
if
(this.size === 0) {
Callers
15
HttpClient.test.ts
File · 0.80
getUsage
Function · 0.80
parseInternal
Function · 0.80
simplify
Function · 0.80
head
Function · 0.80
Schema.tst.ts
File · 0.80
Iterable.test.ts
File · 0.80
MutableList.test.ts
File · 0.80
List.test.ts
File · 0.80
STM.test.ts
File · 0.80
Array.test.ts
File · 0.80
traversing.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
1
interleave
Function · 0.64