Klibr / var_is_object

var_is_object (value)

Retourne TRUE si la variable passé en parametre est un objet, sinon retourne FALSE.

Exemple d'utilisation en Javascript

o = {};
o.a = 0;
o.b = 1;
o.c = 2;
o.d = 3;
o.e = 4;
o.f = 5;
test = var_is_object(o);

Exemple d'utilisation en VB6

Dim o As Object
Set o = CreateObject("Scripting.Dictionary")
o.Add "a", 0
o.Add "b", 1
o.Add "c", 2
o.Add "d", 3
o.Add "e", 4
o.Add "f", 5
test = var_is_object(o)

Exemple d'utilisation en VBA

Dim o As Object
Set o = CreateObject("Scripting.Dictionary")
o.Add "a", 0
o.Add "b", 1
o.Add "c", 2
o.Add "d", 3
o.Add "e", 4
o.Add "f", 5
test = var_is_object(o)
kevgd loader
Patientez...