You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
460 B
16 lines
460 B
import each from './each';
|
|
import isFunction from './is-function';
|
|
// @ts-ignore
|
|
var values = Object.values
|
|
? function (obj) { return Object.values(obj); }
|
|
: function (obj) {
|
|
var result = [];
|
|
each(obj, function (value, key) {
|
|
if (!(isFunction(obj) && key === 'prototype')) {
|
|
result.push(value);
|
|
}
|
|
});
|
|
return result;
|
|
};
|
|
export default values;
|
|
//# sourceMappingURL=values.js.map
|