30.08.2015, 05:11
Let's suppose I have the following function:
Is there any way to detect what type of value is the second argument?
I want to detect if it's either a Float, string or an integer, don't ask why I want to do that.
Thanks for helping.
PHP код:
stock SomeFunc(const somestring[], { _,Float }:...)
{
return 1;
}
I want to detect if it's either a Float, string or an integer, don't ask why I want to do that.
Thanks for helping.