Si es verdadero Javascrtiptr

var booleanValue = true;

function someFunction(){
    if(booleanValue === true){
        return "something";
    }
}
William Valverde