MCPcopy Create free account
hub / github.com/github/gh-aw / containsExpressionInList

Function containsExpressionInList

pkg/workflow/expression_safety_validation.go:270–272  ·  view source on GitHub ↗

containsExpressionInList checks if an expression is in the list.

(list *[]string, expr string)

Source from the content-addressed store, hash-verified

268
269// containsExpressionInList checks if an expression is in the list.
270func containsExpressionInList(list *[]string, expr string) bool {
271 return slices.Contains(*list, expr)
272}

Callers 1

validateSingleExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected