MCPcopy Create free account
hub / github.com/cel-expr/cel-go / ptr

Function ptr

common/cost/optional_test.go:179–181  ·  view source on GitHub ↗
(v T)

Source from the content-addressed store, hash-verified

177}
178
179func ptr[T any](v T) *T {
180 return &v
181}
182
183// TestComparisonEstimate checks the estimate of a comparison at each cost model version.
184//

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected