IsEmpty function is check that the array has value or not
()
| 76 | |
| 77 | // IsEmpty function is check that the array has value or not |
| 78 | func (da *DynamicArray) IsEmpty() bool { |
| 79 | return da.Size == 0 |
| 80 | } |
| 81 | |
| 82 | // GetData function return all value of array |
| 83 | func (da *DynamicArray) GetData() []any { |
no outgoing calls