hyTags
HomeHome DocumentationDocumentation

string-is-empty

Checks if the string is empty.
Parameter
Type
Description
self
String
String to check
return
bool
True if string is empty, false otherwise
Test Case:Empty string is empty
    <div></div>
    
    <string-new>
    <string-is-empty>
    <assert-true>
    
    👆 Try to change something!
  • Test Case:Non-empty string is not empty
      <div></div>
      
      <string-new value="hello">
      <string-is-empty>
      <assert-false>
      
      👆 Try to change something!
    • Test succeeded Test failed