Vous êtes sur le site Web historique de la documentation de 4D. Les documentations sont progressivement déplacées vers developer.4d.com

Accueil

 
4D v19
TYPE

TYPE 


 

TYPE ( value ) 
Paramètre Type   Description
value  in Value to evaluate

The TYPE function returns the type of value as a number.

Returned types are listed below:

Type of valueReturned number
Number1
DateTime object1
TimeSpan object1
Text2
Boolean4
Error16
Array64

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.

Exemple  

TYPE(G15)

TYPE(42) //1

TYPE("String") //2

TYPE(TRUE) //4

 
PROPRIÉTÉS 

Produit : 4D
Thème : Formules 4D View Pro
Nom intl. : TYPE

 
PAGE CONTENTS 
 
HISTORIQUE 

 
UTILISATION DE L'ARTICLE

4D View Pro ( 4D v19)