@technically/omit-undefined
is a micro-package to filter out undefined object properties.
import { omitUndefined } from '@technically/omit-undefined';
const result = omitUndefined({ x: undefined, y: 1 }); // { y: 1 }
Authored by Ivan Voskoboinyk.
@technically/omit-undefined
is a micro-package to filter out undefined object properties.
import { omitUndefined } from '@technically/omit-undefined';
const result = omitUndefined({ x: undefined, y: 1 }); // { y: 1 }
Authored by Ivan Voskoboinyk.
npm i @technically/omit-undefined
123
1.0.3
MIT
3.36 kB
6