dash.gridfileSources.ismatch
Test if a dataSource object matches an entry in the catalogue
Syntax
Description
Returns true if a dataSource object matches the specified source in the catalogue. Otherwise, returns false.
If the dataSource is not a match, returns information about the properties that do not match the values in the catalogue. If a match, the additional outputs are empty.
Input Arguments
dataSource
scalar dataSource object
A dataSource object to compare with the catalogue.
s
numeric scalar
The index of a source in the catalogue to compare with the dataSource object.
Output Arguments
tf
logical scalar
True if the dataSource matches the catalogue entry. Otherwise, false.
property
string scalar
If not a match, the name of the property that did not match the catalogue. Otherwise, an empty char.
objValue
array | []
If not a match, the value of the property in the dataSource object. Otherwise, an empty array.
catalogueValue
array | []
If not a match, the value of the property in the catalogue. Otherwise, an empty array.