isNilOrEmptyString

Function

Determines whether a value is null, undefined, or an empty string. This is particularly useful when 0 and false are considered meaningful values

  • isNilOrEmptyString(value: any) : boolean

Parameters

Parameter Type Default Notes
value Required any

value to check

Returns

whether the value is null, undefined, or an empty string

boolean

Function defined in common/src/search/_internal/commonHelpers/isNilOrEmptyString.ts:7