isValueEmpty

internal fun isValueEmpty(value: Any?): Boolean

Checks whether the value is empty or not filled in.

A value counts as empty when it:

  • Is null

  • Is an empty string or only whitespace

  • Is an empty list

Return

true if the value is empty

Parameters

value

the value to check