Last change
on this file was 20498, checked in by Mathieu Morlighem, 9 years ago |
CHG: done with Archive/19101-20495
|
File size:
436 bytes
|
Rev | Line | |
---|
[20498] | 1 | Index: ../trunk-jpl/src/m/array/arrayoperations.js
|
---|
| 2 | ===================================================================
|
---|
| 3 | --- ../trunk-jpl/src/m/array/arrayoperations.js (revision 19804)
|
---|
| 4 | +++ ../trunk-jpl/src/m/array/arrayoperations.js (revision 19805)
|
---|
| 5 | @@ -300,3 +300,11 @@
|
---|
| 6 |
|
---|
| 7 | return arr;
|
---|
| 8 | } //}}}
|
---|
| 9 | +function MapIsEmpty(map) { //{{{
|
---|
| 10 | + for (var key in map){
|
---|
| 11 | + if(map.hasOwnProperty(key)){
|
---|
| 12 | + return false;
|
---|
| 13 | + }
|
---|
| 14 | + }
|
---|
| 15 | + return true;
|
---|
| 16 | +} //}}}
|
---|
Note:
See
TracBrowser
for help on using the repository browser.