Function: getWorkspaceId()
getWorkspaceId(
workspaceHost?):Promise<string|undefined>
Resolve the numeric workspace id: the workspace Config’s workspaceId
first, else the 10-20 digit run of workspaceHost (defaulting to
getWorkspaceUrl’s host). undefined when neither yields an id.
Parameters
Section titled “Parameters”workspaceHost?
Section titled “workspaceHost?”string
Returns
Section titled “Returns”Promise<string | undefined>