is_frame

Declaration

is_frame (name: STRING)

Description

Returns True if the frame exists. The window containing the frame does not have to be visible to access the frame. However, if the frame is in a conceal that is not displayed, then the frame is not available.

See Also

load_item_in_frame
window and frame functions
Frame Manager

Example

script show_something is
  if is_frame ('main') then
    load_item_in_frame ('title_page', 'main')
  end
end