Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
Var.sameAs()
sameAs ( var2 )
Check whether two variable objects refer to the same variable.
Arguments:
var2: The other variable.
Return value:
Boolean result indicates whether the two variable objects refer to the same model variable.
Example usage:
print(model.getVars()[0].sameAs(model.getVars()[1]))