Returns an array of all entry tuples of type [K, NonNullable<T[K]>] in an object T whose values are neither
null nor undefined. This can be convenient for enumerating the entries of unknown objects with optional
properties (including Dictionarys) without worrying about performing checks against possibly undefined or
null values.
Returns an array of all entry tuples of type
[K, NonNullable<T[K]>]
in an objectT
whose values are neithernull
norundefined
. This can be convenient for enumerating the entries of unknown objects with optional properties (includingDictionary
s) without worrying about performing checks against possiblyundefined
ornull
values.See also caveats outlined in entriesOf.