@sankhyalabs/core-docs 5.20.0-dev.26 → 5.20.0-dev.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/classes/ObjectUtils.md +48 -0
- package/package.json +1 -1
package/classes/ObjectUtils.md
CHANGED
@@ -76,6 +76,54 @@ src/utils/ObjectUtils.ts:84
|
|
76
76
|
|
77
77
|
***
|
78
78
|
|
79
|
+
### isEmpty()
|
80
|
+
|
81
|
+
> `static` **isEmpty**(`obj`): `boolean`
|
82
|
+
|
83
|
+
Verifica se o objeto está vazio (sem atributos).
|
84
|
+
|
85
|
+
#### Parameters
|
86
|
+
|
87
|
+
• **obj**: `object`
|
88
|
+
|
89
|
+
Objeto a ser verificado.
|
90
|
+
|
91
|
+
#### Returns
|
92
|
+
|
93
|
+
`boolean`
|
94
|
+
|
95
|
+
- True caso o objeto esteja vazio.
|
96
|
+
|
97
|
+
#### Source
|
98
|
+
|
99
|
+
src/utils/ObjectUtils.ts:94
|
100
|
+
|
101
|
+
***
|
102
|
+
|
103
|
+
### isNotEmpty()
|
104
|
+
|
105
|
+
> `static` **isNotEmpty**(`obj`): `boolean`
|
106
|
+
|
107
|
+
Verifica se o objeto NÃO está vazio (sem atributos).
|
108
|
+
|
109
|
+
#### Parameters
|
110
|
+
|
111
|
+
• **obj**: `object`
|
112
|
+
|
113
|
+
Objeto a ser verificado.
|
114
|
+
|
115
|
+
#### Returns
|
116
|
+
|
117
|
+
`boolean`
|
118
|
+
|
119
|
+
- True caso o objeto NÃO esteja vazio
|
120
|
+
|
121
|
+
#### Source
|
122
|
+
|
123
|
+
src/utils/ObjectUtils.ts:104
|
124
|
+
|
125
|
+
***
|
126
|
+
|
79
127
|
### objectToString()
|
80
128
|
|
81
129
|
> `static` **objectToString**(`data`): `string`
|