foundation-utils.iniframe
Home > @genesislcap/foundation-utils > inIFrame
inIFrame() function
Returns a boolean value indicating whether the current window is inside an iframe.
Signature:
inIFrame: () => boolean
Returns:
boolean
true if the window is inside an iframe, false otherwise.