isSelected(id)

checks if item is selected or not

Parameters

  • id - id of item in question (optional)
    • string

Returns

boolean 'true' if item in question is selected, or 'false' if item is not selected