hyTags
HomeHome DocumentationDocumentation

bool-to-string

Converts a boolean value to a string.
Parameter
Type
Description
self
Bool
Boolean value to convert
return
string
String representation ("true" or "false")
Test Case:true to string
    <div></div>
    
    <bool-true>
    <bool-to-string>
    <assert-equal value="true" type="string">
    
    👆 Try to change something!
  • Test Case:false to string
      <div></div>
      
      <bool-false>
      <bool-to-string>
      <assert-equal value="false" type="string">
      
      👆 Try to change something!
    • Test succeeded Test failed