@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Function readWorkspace

    • Read the leading /<anchor>/<workspace> workspace token, without a key table. Option.none() for a pathname that does not open with the anchor key followed by a workspace segment.

      Parameters

      • pathname: string

      Returns Option<string>