User Tools

Site Tools


prpl:gettype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
prpl:gettype [2016/12/20 23:23] Oblivionprpl:gettype [2018/06/14 18:01] (current) – changed description kajacx
Line 1: Line 1:
-<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#everything_else_2|Everything Else 2]]+<- [[.:prplreference| PRPL reference]] <- [[.:prplreference#Scripts|Scripts]]
  
-=====  GETTYPE  =====+ 
 +=====  GetType  =====
  
 ^Arguments^Result^Notation^ ^Arguments^Result^Notation^
-| | | [-] |+ValueString| [ '' s1/i1/b1/f1 -- String ''] |
  
  
 === Description === === Description ===
 +Takes a value and returns a string of what type of value it is. Types: 
 +STRING 
 +INT 
 +FLOAT 
 +LIST 
 +NULL
  
 === Examples === === Examples ===
-<code> d1 = GetDataFromStack();  +<code prpl>  
- stack.Push(new Data(d1.GetType().ToString())); +        "Value" GetType ->Type 
 +        <-Type trace //Would return STRING as the result 
 </code> </code>
  
prpl/gettype.1482294184.txt.gz · Last modified: 2016/12/20 23:23 by Oblivion