Check if string length is non-zero

Returns an exit code of 0 if the length of the string is non-zero.

Authored by: Sidratul Muntaha
Brought to you by Warp, a free terminal reimagined to work like a modern app.
string

Command
Copy
[[ -z string ]]
Tags