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

Function isStringArray

internal/filter/helpers.go:8–15  ·  view source on GitHub ↗
(values []interface{})

Source from the content-addressed store, hash-verified

6)
7
8func isStringArray(values []interface{}) bool {
9 for _, v := range values {
10 if _, ok := v.(string); !ok {
11 return false
12 }
13 }
14 return true
15}
16
17func convertToStringArray(values []interface{}) []string {
18 result := make([]string, len(values))

Callers 3

buildBalanceIdConditionFunction · 0.85
buildIndicatorConditionFunction · 0.85
buildStandardConditionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected