MCPcopy Create free account
hub / github.com/benbjohnson/immutable / NewTList

Function NewTList

immutable_test.go:271–276  ·  view source on GitHub ↗

NewTList returns a new instance of TList.

()

Source from the content-addressed store, hash-verified

269
270// NewTList returns a new instance of TList.
271func NewTList() *TList {
272 return &TList{
273 im: NewList[int](),
274 builder: NewListBuilder[int](),
275 }
276}
277
278// Len returns the size of the list.
279func (l *TList) Len() int {

Callers 1

TestListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…