how to know the type of a parameter java code example
Example 1: javascript how to know type of variable
var foo = "Hello";
console.log(typeof foo); // string
Example 2: how to find the type of a object c#
use the "is" keyword
var foo = "Hello";
console.log(typeof foo); // string
use the "is" keyword