MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / goBack

Function goBack

apps/automated/src/ui-helper.ts:231–233  ·  view source on GitHub ↗
(topFrame?: Frame)

Source from the content-addressed store, hash-verified

229}
230
231export function goBack(topFrame?: Frame) {
232 waitUntilNavigatedFrom(() => (topFrame ? topFrame.goBack() : Frame.topmost().goBack()));
233}
234
235export function assertAreClose(actual: number, expected: number, message: string): void {
236 const density = Utils.layout.getDisplayDensity();

Callers

nothing calls this directly

Calls 3

waitUntilNavigatedFromFunction · 0.85
goBackMethod · 0.45
topmostMethod · 0.45

Tested by

no test coverage detected