function userPath
userPath(
username: string,
tab?: ProfileTab,
view?: FollowView
): string

Returns the path of username's profile, of one of its tabs, or of a view of the follow tab. The default view, users, is the bare tab.

Parameters

username: string
optional
tab: ProfileTab
optional
view: FollowView

Return Type

string

Usage

import { userPath } from "shared/paths.ts";