Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lerna/lerna
/ isErrorWithStack
Function
isErrorWithStack
libs/core/src/lib/command/clean-stack.ts:14–16 ·
view source on GitHub ↗
(err: Error | string)
Source
from the content-addressed store, hash-verified
12
}
13
14
function
isErrorWithStack(err: Error | string): err is Error & { stack: string } {
15
return
(err as Error).stack !== undefined;
16
}
Callers
1
cleanStack
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected