@metreeca/core - v0.9.22
    Preparing search index...

    Type Alias Defined<V>

    Defined: V & (null | {})

    Defined value.

    Strips undefined from a type, leaving every other constituent in place: null is retained, as definedness is about assignment rather than emptiness.

    Warning

    Defined<any> resolves to any and admits undefined again.

    Type Parameters

    • V = null | {}

      The type to strip undefined from, defaults to any value other than undefined