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

Function OverloadIsNonStrict

common/decls/decls.go:915–920  ·  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

913//
914// Note: do not use this option unless absoluately necessary as it should be an uncommon feature.
915func OverloadIsNonStrict() OverloadOpt {
916 return func(o *OverloadDecl) (*OverloadDecl, error) {
917 o.nonStrict = true
918 return o, nil
919 }
920}
921
922// OverloadOperandTrait configures a set of traits which the first argument to the overload must implement in order to be
923// successfully invoked.

Callers 4

testDataFunction · 0.92
OverloadIsNonStrictFunction · 0.92
initFunction · 0.92
TestOverloadIsNonStrictFunction · 0.70

Calls

no outgoing calls

Tested by 2

testDataFunction · 0.74
TestOverloadIsNonStrictFunction · 0.56