@serenity-is/corelib / isEmptyOrNull

Function: isEmptyOrNull()

isEmptyOrNull(s): boolean

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

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

Parameters

s

string

String to check.

Returns

boolean

True if the string is empty or null.