MCPcopy Create free account
hub / github.com/dagger/dagger / NewStringArray

Function NewStringArray

dagql/types.go:1312–1314  ·  view source on GitHub ↗
(elems ...string)

Source from the content-addressed store, hash-verified

1310}
1311
1312func NewStringArray(elems ...string) Array[String] {
1313 return ToArray(NewString, elems...)
1314}
1315
1316func NewBoolArray(elems ...bool) Array[Boolean] {
1317 return ToArray(NewBoolean, elems...)

Callers 15

TestServerSelectFunction · 0.92
TestInterfacesFunction · 0.92
LoadContextDirMethod · 0.92
applyIgnoreOnDirMethod · 0.92
schemaJSONFileFromServerFunction · 0.92
applyArgDirectivesFunction · 0.92
applyArgDirectivesFunction · 0.92

Calls 1

ToArrayFunction · 0.85

Tested by 2

TestServerSelectFunction · 0.74
TestInterfacesFunction · 0.74