hyTags
HomeHome DocumentationDocumentation

bool-is-equal

Checks if two boolean values are equal.
Parameter
Type
Description
self
Bool
First boolean value
other
Bool
Second boolean value
return
bool
`true` if values are equal, `false` otherwise
Test Case:true equals true
    <div></div>
    
    <bool-true>
    <bool-is-equal other="true">
    <assert-true>
    
    👆 Try to change something!
  • Test Case:true does not equal false
      <div></div>
      
      <bool-true>
      <bool-is-equal other="false">
      <assert-false>
      
      👆 Try to change something!
    • Test succeeded Test failed