W
WilsonOfCanada
Hellos,
I have a dictionary (at least in python sense) that I am trying to use
exist(). I was wondering if this what a dictionary looks like because
the exist does not seem to work with it.
var list_provinces = {'Canada': ['British Columbia', 'Alberta',
'Manitoba', 'New Brunswick', 'Newfoundland and Labrador', 'Nova
Scotia', 'Ontario', 'Prince Edward Island', 'Quebec', 'Saskatchewan',
'Northwest Territories', 'Nunavut', 'Yukon']};
var found = list_provinces.Exists(selectedCountry);
Thanks
I have a dictionary (at least in python sense) that I am trying to use
exist(). I was wondering if this what a dictionary looks like because
the exist does not seem to work with it.
var list_provinces = {'Canada': ['British Columbia', 'Alberta',
'Manitoba', 'New Brunswick', 'Newfoundland and Labrador', 'Nova
Scotia', 'Ontario', 'Prince Edward Island', 'Quebec', 'Saskatchewan',
'Northwest Territories', 'Nunavut', 'Yukon']};
var found = list_provinces.Exists(selectedCountry);
Thanks