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

Function OverloadIsNonStrict

common/decls/decls.go:1099–1104  ·  view source on GitHub ↗

OverloadIsNonStrict enables the function to be called with error and unknown argument values. Note: do not use this option unless absoluately necessary as it should be an uncommon feature.

()

Source from the content-addressed store, hash-verified

1097//
1098// Note: do not use this option unless absoluately necessary as it should be an uncommon feature.
1099func OverloadIsNonStrict() OverloadOpt {
1100 return func(o *OverloadDecl) (*OverloadDecl, error) {
1101 o.nonStrict = true
1102 return o, nil
1103 }
1104}
1105
1106// OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be
1107// successfully invoked.

Callers 4

testDataFunction · 0.92
OverloadIsNonStrictFunction · 0.92
initStandardFunction · 0.92
TestOverloadIsNonStrictFunction · 0.70

Calls

no outgoing calls

Tested by 2

testDataFunction · 0.74
TestOverloadIsNonStrictFunction · 0.56