Checking Model object type
Posted: Tue Nov 24, 2015 4:00 am
How do I check if an object of a Model is a certain type? If I have a model object temp, how do I confirm it is that type?
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
How do I check if an object of a Model is a certain type? If I have a model object temp, how do I confirm it is that type?
Hello,
Please use JS below:
prevat typeName = Apperyio.storage.variableName.type;/pre
here variableName - variable's name