Sha256: ab5a678c09728e3d587f3aa306d4f05e84cf872033dc743d3e4203fe373a41dd
Contents?: true
Size: 635 Bytes
Versions: 34
Compression:
Stored size: 635 Bytes
Contents
import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose.js"; export default function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
Version data entries
34 entries across 33 versions & 5 rubygems