Hi, how do i compare a .NET type in V8ScringEngine?
For example, i want to compare if thefollowing types are equal
var x = new Order();
var y = new Customer();
if (typeof(x) === typeof(y){
};
This will always returns true because typeof(x) or typeof(y) is always an "object".
For example, i want to compare if thefollowing types are equal
var x = new Order();
var y = new Customer();
if (typeof(x) === typeof(y){
};
This will always returns true because typeof(x) or typeof(y) is always an "object".