MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / GetPipeableMinArgCount

Method GetPipeableMinArgCount

etscore/options.go:241–246  ·  view source on GitHub ↗

GetPipeableMinArgCount returns the configured minimum pipeable arg count, or 2 if not set.

()

Source from the content-addressed store, hash-verified

239
240// GetPipeableMinArgCount returns the configured minimum pipeable arg count, or 2 if not set.
241func (e *ResolvedEffectPluginOptions) GetPipeableMinArgCount() int {
242 if e != nil && e.PipeableMinArgCount > 0 {
243 return e.PipeableMinArgCount
244 }
245 return 2
246}
247
248// DefaultKeyPatterns is the default key patterns configuration.
249var DefaultKeyPatterns = []KeyPattern{

Calls

no outgoing calls