has Function

nano > def > has
Returns "true" if the node contains the specified string in the innerHTML or value.

Summary

ElementFunction
ReturnsBoolean

Arguments

valString[required] String to search for.

Example

handler.has('something');