![]() |
![]() |
||||||
|
|||||||
| Tags: |
![]() |
|
|||
|
I know there must be an easy way to do this. Say I want to have a function
to which you can pass either an integer or a point, or maybe a list, either would work. How do I determine what the data type of the data I've been given is? In other words, I'd like to be able to say: if data.type = #integer then <do something> else if data.type = #point then <do something else> else if data.type = #list then <do yet another thing> etc. |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
- Contact Us
-|-
Adobe Dreamweaver Forums -|-
Archive -|-
Top -|-Rules/Disclaimer-|-Help/Support-|-Advertise