MCPcopy
hub / github.com/CapSoftware/Cap / isAtEnd

Function isAtEnd

apps/desktop/src/routes/editor/TranscriptPage.tsx:410–413  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408 };
409
410 const isAtEnd = () => {
411 const total = totalDuration();
412 return total > 0 && total - editorState.playbackTime <= 0.1;
413 };
414
415 const handlePlayPause = async () => {
416 try {

Callers 2

handlePlayPauseFunction · 0.70
TranscriptPanelFunction · 0.70

Calls 1

totalDurationFunction · 0.85

Tested by

no test coverage detected