SocialluxSociallux
Toggle navigation menu
Docs navigationv

Primitive

value.isEmpty

BETA

Short name: isEmpty

Version: 1.0.0

Return true for null/undefined/empty string/empty array/empty object.

Back to primitive library

Inputs

KeyTypeRequiredDescription
valueanytrueInput value to test.

Outputs

KeyTypeRequiredDescription
resultbooleanfalseWhether the value is considered empty.