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

Function templatableBoolIsTrue

pkg/workflow/templatables.go:219–221  ·  view source on GitHub ↗
(value *TemplatableBool)

Source from the content-addressed store, hash-verified

217}
218
219func templatableBoolIsTrue(value *TemplatableBool) bool {
220 return value != nil && value.String() == "true"
221}
222
223// templatableBoolEnvVarValue returns only staged values that must be preserved
224// in env vars at runtime. Literal false is treated the same as unset, while

Calls 1

StringMethod · 0.45