We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
categoriesHandlers.class.js
Utilities
1 parent 4eee27d commit b361fa1Copy full SHA for b361fa1
src/lib/categoriesHandlers.class.js
@@ -1,7 +1,4 @@
1
-
2
-Array.prototype.isEmpty = (arr) => {
3
- return (arr === undefined || arr.length === 0) ? false : true
4
-}
+import Utility from './utilities.class.js'
5
6
class Categories {
7
getCategoriesFlags = array => {
@@ -17,7 +14,7 @@ class Categories {
17
14
}
18
15
19
16
getCategoriesFromCategoriesFlags = array => {
20
- return (!Array.isEmpty(array)) ? array : undefined
+ return (!Utility.isEmpty(array)) ? array : undefined
21
22
23
0 commit comments