function getInputOrUndefined()

in github-projects/map-labels/index.js [90:98]


function getInputOrUndefined(name, parse) {
    const value = core.getInput(name);
    if (value.length > 0) {
        return parse ? parse(value) : value;
    }
    else {
        return undefined;
    }
}