| 346 | return false; |
| 347 | } |
| 348 | bool variant::is_numeric()const |
| 349 | { |
| 350 | switch( get_type() ) |
| 351 | { |
| 352 | case int64_type: |
| 353 | case uint64_type: |
| 354 | case double_type: |
| 355 | case bool_type: |
| 356 | return true; |
| 357 | default: |
| 358 | return false; |
| 359 | } |
| 360 | return false; |
| 361 | } |
| 362 | |
| 363 | bool variant::is_object()const |
| 364 | { |