isStringEmpty
Returns true if string IS NOT null and IS NOT undefined and IS NOT an empty string.
Presentation
function isStringEmpty (
value?: string | null | undefined,
useTrim: boolean = true,
): boolean;
Returns
boolean
Parameters
Name | Type | Description |
---|---|---|
value | string | null | undefined | |
useTrim | boolean | @param useTrim If true, the string will be trimmed before checking its length. Default is true. |