diff --git a/src/core/Dish.mjs b/src/core/Dish.mjs index 39a8a7f5..243a7986 100755 --- a/src/core/Dish.mjs +++ b/src/core/Dish.mjs @@ -271,26 +271,6 @@ class Dish { } } - /** - * - */ - findType() { - if (!this.value) { - throw "Dish has no value"; - } - - const types = [Dish.BYTE_ARRAY, Dish.STRING, Dish.HTML, Dish.NUMBER, Dish.ARRAY_BUFFER, Dish.BIG_NUMBER, Dish.LIST_FILE]; - - types.find((type) => { - this.type = type; - if (this.valid()) { - return true; - } - }); - - return this.type; - } - /** * Determines how much space the Dish takes up.