PHP Classes

File: upload/themes/bb_simple/assets/moment/src/lib/utils/is-object-empty.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/moment/src/lib/utils/is-object-empty.js   Download  
File: upload/themes/bb_simple/assets/moment/src/lib/utils/is-object-empty.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
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; }