hyTags
HomeHome DocumentationDocumentation

bool-any

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