OutputVar := Mfunc.IfIsNot(ByRef var, type)
Checks whether a variable's contents are not numeric, uppercase, etc.
var
The variable name.
type
supported types are integer,float,number,digit,xdigit,alpha,upper,lower,alnum,space, and time
Returns true if var is not type; Otherwise false.
Also See:AutoHotkey if var is type method
Static Method.
if (!Mfunc.IfIsNot(var,"float"))
{
MsgBox, %var% is a not floating point number.
}
if (Mfunc.IfIsNot(var,"integer"))
{
MsgBox, %var% is not an integer.
}
if (Mfunc.IfIsNot(var,"time"))
{
MsgBox, %var% is not a valid date-time.
}