commandbox.system.modules_app.system-commands.commands

Class assertFalse

lucee.Component
    extended by commandbox.system.modules_app.system-commands.commands.assertFalse

Returns a passing (0) or failing (1) exit code if a falsey parameter passed. Command outputs nothing. Falsey values are arenything OTHER than "yes", "true" and positive integers. . {code:bash} assertFalse `package show private` && run-script foo assertFalse ${GOOD_THINGS} && run-doom assertFalse `#fileExists foo.txt` && echo "it's not there!" {code}

Class Attributes:
  • synchronized : false
  •  
  • accessors : false
  •  
  • persistent : false
  •  
    Method Summary
    any run(string predicate)
     
    Methods inherited from class lucee.Component
    None

    Method Detail

    run

    public any run(string predicate)

    Parameters:
    predicate - A value that is truthy or falsy.