window--major-side-window

window--major-side-window is a compiled Lisp function in `window.el'.

(window--major-side-window SIDE)

Return major side window on SIDE.
SIDE must be one of the symbols `left', `top', `right' or
`bottom'. Return nil if no such window exists.