Function: tryGetWorkspaceClient()
tryGetWorkspaceClient():
WorkspaceClient|undefined
The AppKit execution-context workspace client when available, otherwise
undefined. Never constructs a fallback client and never throws for a
missing AppKit scope.
Returns
Section titled “Returns”WorkspaceClient | undefined