UNPKG

@fleetbase/ember-ui

Version:

Fleetbase UI provides all the interface components, helpers, services and utilities for building a Fleetbase extension into the Console.

5 lines (4 loc) 197 B
/* eslint-disable no-unused-vars */ export default function removeNullish(obj) { return Object.fromEntries(Object.entries(obj).filter(([_, value]) => value !== null && value !== undefined)); }