This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| prpl:gettype [2016/12/21 04:18] – Oblivion | prpl:gettype [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <- [[.: | + | <- [[.: |
| - | ===== | + | |
| + | ===== | ||
| ^Arguments^Result^Notation^ | ^Arguments^Result^Notation^ | ||
| - | | Unit UID| String| [ UID - String ] | | + | | Value| String| [ '' |
| === Description === | === Description === | ||
| - | Takes in a Unit UID and returns a string of what the Unit is. | + | Takes a value and returns a string of what type of value it is. Types: |
| + | STRING | ||
| + | INT | ||
| + | FLOAT | ||
| + | LIST | ||
| + | NULL | ||
| === Examples === | === Examples === | ||
| - | < | + | < |
| - | stack.Push(new Data(d1.GetType().ToString())); | + | " |
| - | + | < | |
| </ | </ | ||