Dies ist die alte 4D Dokumentations-Website. Die neue und aktualisierte Dokumentation finden Sie unter developer.4d.com |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v19
TYPE
|
TYPE ( value ) | ||||||||
Parameter | Typ | Beschreibung | ||||||
value |
![]() |
Value to evaluate | ||||||
The TYPE function returns the type of value as a number.
Returned types are listed below:
Type of value | Returned number |
Number | 1 |
DateTime object | 1 |
TimeSpan object | 1 |
Text | 2 |
Boolean | 4 |
Error | 16 |
Array | 64 |
Use the TYPE function when the execution of another function depends on the type of value contained in a specific cell. The TYPE function is particularly useful when calling functions that accept different types of data.
TYPE(G15)
TYPE(42) //1
TYPE("String") //2
TYPE(TRUE) //4
Produkt: 4D
Thema: Formeln in 4D View Pro
4D View Pro Handbuch ( 4D v19)