PHP Classes

File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/lib/utils/is-object-empty.js

Recommend this page to a friend!
  Classes of James Brows   Coffee CMS   CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/lib/utils/is-object-empty.js   Download  
File: CoffeeCMS/contents/themes/cfnews/cfnews-html/assets/moment/src/lib/utils/is-object-empty.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Coffee CMS
Content management system using MVC based themes
Author: By
Last change:
Date: 3 years ago
Size: 192 bytes
 

Contents

Class file image Download
export default function isObjectEmpty(obj) { var k; for (k in obj) { // even if its not own property I'd still call it non-empty return false; } return true; }