Since they did not know what kind of gourds they were they did not know whether or not they were safe to eat. The full meaning of this statement can be made clear. Alternate translation: "but did not know if they were good or bad to eat" (See: [[rc://en/ta/man/translate/figs-explicit]])