Skip to content
Snippets Groups Projects

Merge new updates into master

1 file
+ 8
6
Compare changes
  • Side-by-side
  • Inline
@@ -19,10 +19,12 @@ along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function booleanVariable(id) {
if (id == null || id == "null")
return 'Não Declarado';
else if (id == false)
return 'Não';
else if (id == true)
return 'Sim';
switch(id){
case true:
return 'Sim';
case false:
return 'Não';
default:
return 'Não Declarado';
}
};
Loading