String
string.void
Shared
Verifies whether the string is empty or contains only whitespaces
Syntax
local void = string.void(input)Parameters
| Type | Name | Description |
|---|---|---|
string | input | String to be verified |
Returns
| Type | Name | Description |
|---|---|---|
bool | void | Returns true if the string is empty or contains only whitespaces, false otherwise |
Examples
local void = string.void("")
engine.print(void) --truelocal void = string.void(" ")
engine.print(void) --truelocal void = string.void("Hello")
engine.print(void) --false