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

Method IsObject

core/modfunc.go:412–414  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

410}
411
412func (ud *UserDefault) IsObject() bool {
413 return ud.Arg.TypeDef.Self().Kind == TypeDefKindObject
414}
415
416func (ud *UserDefault) IsList() bool {
417 return ud.Arg.TypeDef.Self().Kind == TypeDefKindList

Callers 4

CallInputMethod · 0.95
ValueMethod · 0.95
DagqlIDMethod · 0.95

Calls 1

SelfMethod · 0.80

Tested by

no test coverage detected