If you select a segment on the board (a connector with empty ends) and write this code:
let arrSelect = await miro.board.getSelection();
then the end of the segment will be defined as "stealth", although in fact it should be "none" (fig. 1)
If you select the first value in the list with the beginning of the arrow (Fig. 2), then it is defined as "none", which is also not true.
The function works correctly with all other types of ends.