globalize check number or date

57 Views Asked by At

I have defined a function where I am receiving a value in the function that I know it should be a number and I am using the following code

less = Globalize.numberParser()(value);

Now I want to use the same function for dates. Is there a function in Globalize project to determine if the value is a number or a date?

0

There are 0 best solutions below