Dan
Dan

Reputation: 693

globalize check number or date

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?

Upvotes: 0

Views: 38

Answers (0)

Related Questions