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
Whether this layer is the root layer.
Type: boolean