hyTags
HomeHome DocumentationDocumentation

bool-all

Returns `true` if all evaluated commands return `true`, otherwise `false`.
Parameter
Type
Description
commands
Commands
Commands to evaluate
return
bool
Result of logical AND of all commands
Test Case:All true returns true
    <div></div>
    
    <bool-all>
      <bool-true>
      <bool-true>
    </bool-all>
    <assert-true>
    
    👆 Try to change something!
  • Test Case:One false returns false
      <div></div>
      
      <bool-all>
        <bool-true>
        <bool-false>
      </bool-all>
      <assert-false>
      
      👆 Try to change something!
    • Test succeeded Test failed