@tempots/std
stringHasContent() function
Returns true
if value
is not null
and contains at least one character.
Signature:
stringHasContent: (value: string) => boolean
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
string |
The string to check. |
Returns: boolean
true
if the string is not null
and contains at least one character, false
otherwise.