ForestAdmin/lumber

View on GitHub
handlerbars/helpers/is-object.js

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
const Handlebars = require('handlebars');

Handlebars.registerHelper('isObject', (value) => {
  return typeof value === 'object';
});