lib/functions/checkbox.js
function get(color) {
    const symbols = getSymbols();
    let result;
    if (color === 'green') {
        result = `[${symbols.check.green}]`;
    } else if (color === 'red') {
        result = `[${symbols.cross.red}]`;
    } else if (color === 'yellow') {
        result = `[${symbols.check.yellow}]`;
    }
    return result;
}
function get(color) {
    const symbols = getSymbols();
    let result;
    if (color === 'green') {
        result = `[${symbols.check.green}]`;
    } else if (color === 'red') {
        result = `[${symbols.cross.red}]`;
    } else if (color === 'yellow') {
        result = `[${symbols.check.yellow}]`;
    }
    return result;
}
function get ( color ) { const symbols = getSymbols ( ) ; let result ; if ( color === 'green' ) { result = ` ${ symbols . check . green } ` ; } else if ( color === 'red' ) { result = ` ${ symbols . cross . red } ` ; } else if ( color === 'yellow' ) { result = ` ${ symbols . check . yellow } ` ; } return result ; }
Get a checkbox

@param {String} color - Identifier of the type of checkbox you want to print
@returns {void}
Get a checkbox