Edit this page

up.layer up.layer.isRoot()
JavaScript function

Returns whether the current layer is the root layer.

This is a shortcut for up.layer.current.isRoot(). See up.Layer#isRoot() for more documentation..

Return value

boolean