MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / isLeftDistribution

Method isLeftDistribution

model/transaction.go:138–140  ·  view source on GitHub ↗

isLeftDistribution checks if a distribution is a "left" type

()

Source from the content-addressed store, hash-verified

136
137// isLeftDistribution checks if a distribution is a "left" type
138func (d *Distribution) isLeftDistribution() bool {
139 return d.Distribution == "left" || d.PreciseDistribution == "left"
140}
141
142// isPercentageDistribution checks if a distribution is a percentage type
143func (d *Distribution) isPercentageDistribution() bool {

Callers 3

processLeftDistributionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected