MCPcopy Create free account
hub / github.com/UiPath/uipathcli / convertToStringArray

Method convertToStringArray

commandline/type_converter.go:324–334  ·  view source on GitHub ↗
(values []string)

Source from the content-addressed store, hash-verified

322}
323
324func (c typeConverter) convertToStringArray(values []string) ([]string, error) {
325 result := []string{}
326 for _, value := range values {
327 items, err := c.convertValueToStringArray(value)
328 if err != nil {
329 return nil, err
330 }
331 result = append(result, items...)
332 }
333 return result, nil
334}
335
336func (c typeConverter) convertToIntegerArray(values []string, parameter parser.Parameter) ([]int, error) {
337 result := []int{}

Callers 1

ConvertArrayMethod · 0.95

Calls 1

Tested by

no test coverage detected