MCPcopy Index your code
hub / github.com/actions/setup-java / getBooleanInput

Function getBooleanInput

src/util.ts:18–22  ·  view source on GitHub ↗
(inputName: string, defaultValue = false)

Source from the content-addressed store, hash-verified

16}
17
18export function getBooleanInput(inputName: string, defaultValue = false) {
19 return (
20 (core.getInput(inputName) || String(defaultValue)).toUpperCase() === 'TRUE'
21 );
22}
23
24export function getVersionFromToolcachePath(toolPath: string) {
25 if (toolPath) {

Callers 3

runFunction · 0.90
configureAuthenticationFunction · 0.90
configureToolchainsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected