MCPcopy Create free account
hub / github.com/apache/fory / String

Function String

go/fory/optional/optional.go:154–154  ·  view source on GitHub ↗

String wraps a string value in Optional.

(v string)

Source from the content-addressed store, hash-verified

152
153// String wraps a string value in Optional.
154func String(v string) Optional[string] { return Some(v) }
155
156// Bool wraps a bool value in Optional.
157func Bool(v bool) Optional[bool] { return Some(v) }

Callers 4

normalizeAcyclicFunction · 0.50
read_scalar_valueFunction · 0.50
parseArgsFunction · 0.50

Calls 1

SomeFunction · 0.85

Tested by

no test coverage detected