Is it possible to determine if only one item or feature is selected in a map of list using Arcade? Ideally I'd like to change the display of one list according to how many features are selected on a second. Something like:
if( Count( selectedFeaturesInList1 ) == 1) {
var returnString="One selected"
} else {
returnString="More than one selected"
}
return {
textColor: '',
backgroundColor: '',
separatorColor:'',
selectionColor: '',
selectionTextColor: '',
attributes: {
attribute1: returnString,
}
}Many thanks.