MCPcopy Index your code
hub / github.com/dagger/dagger / IsObject

Method IsObject

cmd/dagger/shell_exec.go:905–907  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

903}
904
905func (r *Result) IsObject() bool {
906 return r.typeDef != nil && r.typeDef.AsFunctionProvider() != nil
907}
908
909func (r *Result) IsVoid() bool {
910 return r.typeDef != nil && r.typeDef.Kind == dagger.TypeDefKindVoidKind

Callers 1

parseFlagValueMethod · 0.45

Calls 1

AsFunctionProviderMethod · 0.80

Tested by

no test coverage detected