-
Notifications
You must be signed in to change notification settings - Fork 0
Noodle GetBaseType() Method
Dan Kranz edited this page Sep 20, 2021
·
2 revisions
Returns the dataset type
Dataset types include: "Array", "Object", and "NoodleDatabase"
GetBaseType()
None
var items = [
["1","Vegetable","Tree","1"],
["2","Animal","Bird","1"],
["3","Mineral","Diamond","1"],
["4","Vegetable","Flower","1"],
["5","Vegetable","Grass","1"],
["6","Animal","Cat","1"],
["7","Animal","Dog","1"],
["8","Mineral","Ruby","1"],
["9","Mineral","Quartz","1"]
];
var db1 = new Noodle(items, ["Seq","Category","Item","Count"]);
var baseType = db1.GetBaseType(); // Returns "Array"