Sha256: fc18015da88836d1da3e354c4bb02b26da8c50ed639cc984c2c4ffde4ab5c690
Contents?: true
Size: 632 Bytes
Versions: 48
Compression:
Stored size: 632 Bytes
Contents
import objectWithoutPropertiesLoose from "./objectWithoutPropertiesLoose"; 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
48 entries across 48 versions & 8 rubygems