Returns an array of all values of type T in an object T for values that are neither null nor undefined.
This can be convenient for enumerating the values of unknown objects with optional properties (including
Dictionarys) without worrying about performing checks against possibly undefined or null values.
Returns an array of all values of type
T
in an objectT
for values that are neithernull
norundefined
. This can be convenient for enumerating the values of unknown objects with optional properties (includingDictionary
s) without worrying about performing checks against possiblyundefined
ornull
values.