github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/helpers/is-object.js (about)

     1  import Helper from '@ember/component/helper';
     2  
     3  export function isObject([value]) {
     4    const isObject =
     5      !Array.isArray(value) && value !== null && typeof value === 'object';
     6    return isObject;
     7  }
     8  
     9  export default Helper.helper(isObject);