3 ms·
for the situation of filter, map, then knowing x is present, there is https://www.npmjs.com/package/ts-is-present https://www.npmjs.com/package/ts-is-present
by commotionfever 4y ago
for the situation of filter, map, then knowing x is present, there is
https://www.npmjs.com/package/ts-is-present https://www.npmjs.com/package/ts-is-present
that particular case is a small snippet but the package also comes with helpers for reaching into objects to do a similar thing