MCPcopy Create free account
hub / github.com/driangle/taskmd / IsValid

Method IsValid

sdk/go/validator/validator.go:35–37  ·  view source on GitHub ↗

IsValid returns true if there are no errors

()

Source from the content-addressed store, hash-verified

33
34// IsValid returns true if there are no errors
35func (vr *ValidationResult) IsValid() bool {
36 return vr.Errors == 0
37}
38
39// HasWarnings returns true if there are warnings
40func (vr *ValidationResult) HasWarnings() bool {

Callers 2

Calls

no outgoing calls

Tested by 2