MCPcopy Create free account
hub / github.com/celzero/firestack / WithElem

Function WithElem

intra/core/slices.go:103–111  ·  view source on GitHub ↗

WithElem returns arr with elem added to it.

(s []T, add T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

addElemFunction · 0.92

Calls 1

ContainsMethod · 0.65

Tested by

no test coverage detected