[Null->Type] returns the data type of a value.
Member tags for Null can be used on values of any data type including custom, third party data types.
[Value->Type]
Use the [Null->Type] tag. The following example stores values of different types in an array, then fetches the type for each value using [Loop] ... [/Loop] tags.
[Var: 'Values'=(Array: 'Hello', 123, 123.456, Null)]
[Loop: $Values->Size]
<br>[Output: $Values->(Get: (Loop_Count))]:
[Output: $Values->(Get: (Loop_Count))->Type]
[/Loop]
<br>Hello: String
<br>123: Integer
<br>123.456: Decimal
<br> : Null
Tag Link | [Null->Type] | Category | Technical |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | String | Security | None |
Implementation | Sets | Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft