Check if a group of properties exist in the mappoint vector.
tf = isprop(mp, {'X','x','Latitude','Name'})
tf = 1x4 logical array
1 0 0 1
The first and last elements of tf are 1 (true) because the properties X and Name exist in the mappoint vector. The second and third elements of tf are 0 (false) because the properties x and Latitude do not exist in the mappoint vector. Property names are case-sensitive.
tf — Flag indicating the property exists in the geographic or planar vector logical scalar or vector
Flag indicating the property exists in the geographic or planar vector,
returned as a logical scalar or vector. Each element of
tf is True when the
corresponding value in name or
names is a property that exists in
v.