Function: frame-visible-p
frame-visible-p is a function defined in frame.c.
Signature
(frame-visible-p FRAME)
Documentation
Return t if FRAME is "visible" (actually in use for display).
Return the symbol icon if FRAME is iconified or "minimized".
Return nil if FRAME was made invisible, via make-frame-invisible.
On graphical displays, invisible frames are not updated and are
usually not displayed at all, even in a window system's "taskbar".
Probably introduced at or before Emacs version 29.1.
Source Code
// Defined in /usr/src/emacs/src/frame.c
{
return frame_visible_p (decode_live_frame (frame));
}