| 422 | |
| 423 | |
| 424 | bool Variant::isNumeric() const |
| 425 | { |
| 426 | if (type==typeInt || type==typeDouble || type==typeInt64) |
| 427 | return true; |
| 428 | if (type!=typeObject || valObject==0) |
| 429 | return false; |
| 430 | |
| 431 | int t = valObject->__GetType(); |
| 432 | return t==vtInt || t==vtFloat; |
| 433 | } |
| 434 | |
| 435 | bool Variant::isBool() const |
| 436 | { |