Question whether given string is empty

string:is_empty?(STRING string) : BOOL

string:is_empty?('')
#=> TRUE

string:is_empty?('hi')
#=> FALSE

# string with spaces is not considered empty 
string:is_empty?(' ')
#=> FALSE

Copyright ©2013-2022 SunSed®. All rights reserved.