consul/ui-v2/app/helpers/object-entries.js

8 lines
177 B
JavaScript

import { helper } from '@ember/component/helper';
export function objectEntries([obj = {}] /*, hash*/) {
return Object.entries(obj);
}
export default helper(objectEntries);