Skip to main content
Version: 16.0.0

Frame.parentFrame() method

Signature:

class Frame {
parentFrame(): Frame | null;
}

Returns:

Frame | null

the parent Frame, if any. Detached and main frames return null.