Left Curve Software Stack
    Preparing search index...

    Function assertNotEmpty

    • Throws an error if value matches the empty value for the given type (array/string of length 0, number of value 0, ...)

      Otherwise returns the value.

      This implies assertSet

      Type Parameters

      • T

      Parameters

      • value: T

      Returns T