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

Method getBoolParameter

plugin/studio/testrun/test_run_command.go:363–374  ·  view source on GitHub ↗
(name string, defaultValue bool, parameters []plugin.ExecutionParameter)

Source from the content-addressed store, hash-verified

361}
362
363func (c TestRunCommand) getBoolParameter(name string, defaultValue bool, parameters []plugin.ExecutionParameter) bool {
364 result := defaultValue
365 for _, p := range parameters {
366 if p.Name == name {
367 if data, ok := p.Value.(bool); ok {
368 result = data
369 break
370 }
371 }
372 }
373 return result
374}
375
376func (c TestRunCommand) getStringArrayParameter(name string, defaultValue []string, parameters []plugin.ExecutionParameter) []string {
377 result := defaultValue

Callers 1

ExecuteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected