@metreeca/qest - v0.12.0
    Preparing search index...

    Function isVacuous

    • Checks if a value is vacuous.

      A vacuous value carries no content, whatever its nesting: {}, [], { address: {} } and [{}] all qualify. A field holding a vacuous value is equivalent to an omitted field.

      Parameters

      • value: unknown

        The value to check

      Returns boolean

      True if value is undefined, or an array or plain object whose elements or entries are all vacuous; false otherwise