11 lines
242 B
JavaScript
11 lines
242 B
JavaScript
import Ember from 'ember';
|
|
|
|
const { Helper } = Ember;
|
|
|
|
export function isObject([value]) {
|
|
const isObject = !Array.isArray(value) && value !== null && typeof value === 'object';
|
|
return isObject;
|
|
}
|
|
|
|
export default Helper.helper(isObject);
|