MCPcopy Create free account
hub / github.com/cel-expr/cel-go / IsOptional

Method IsOptional

interpreter/attributes.go:1435–1437  ·  view source on GitHub ↗

IsOptional implements the Qualifier interface method.

()

Source from the content-addressed store, hash-verified

1433
1434// IsOptional implements the Qualifier interface method.
1435func (q *doubleQualifier) IsOptional() bool {
1436 return q.optional
1437}
1438
1439// Qualify implements the Qualifier interface method.
1440func (q *doubleQualifier) Qualify(vars Activation, obj any) (any, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected