@serenity-is/corelib / isTrimmedEmpty

Function: isTrimmedEmpty()

isTrimmedEmpty(s): boolean

Defined in: src/compat/strings-compat.ts:26

Checks if the string is empty or null or whitespace. Prefer !s?.Trim() instead.

Parameters

s

string

String to check.

Returns

boolean

True if the string is empty or null or whitespace.