All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.cjs.utils.omit.cjs Maven / Gradle / Ivy

Go to download

Responsive and accessible React UI components built with React and Emotion

The newest version!
"use strict";
'use strict';

function omit(object, keysToOmit = []) {
  const clone = Object.assign({}, object);
  for (const key of keysToOmit) {
    if (key in clone) {
      delete clone[key];
    }
  }
  return clone;
}

exports.omit = omit;




© 2015 - 2025 Weber Informatics LLC | Privacy Policy