Solved
Forum Discussion
6 Replies
- bojanvelevskiValued Contributor
Hi @Sahil,
You can include the ‘typeof’ function in a router snap. It will look something like this:
Regards,
Bojan - SpiroTaleskiValued Contributor
Also in the Router Snap, you can use the instanceof global function that will return true/false if the given object is an instance of the given type.
ex: $input instanceof ‘String’
Regards,
Spiro Taleski- viktor_nContributor II
Hi @Sahil,
Responses from @bojanvelevski and @Spiro_Taleski as I see are correct. Is there are problem with using them ?