MCPcopy Create free account
hub / github.com/brimdata/super / Unlabel

Function Unlabel

vector/labeled.go:8–13  ·  view source on GitHub ↗
(vec Any)

Source from the content-addressed store, hash-verified

6}
7
8func Unlabel(vec Any) (Any, string) {
9 if vec, ok := vec.(*Labeled); ok {
10 return vec.Any, vec.Label
11 }
12 return vec, ""
13}

Callers 3

CopyMuxFunction · 0.92
PullMethod · 0.92
MaterializeFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected