getSourcePage
Return a trimmed path beginning with /, or the path, query, and fragment of an absolute URL.
Input is truncated to 2,000 characters; missing or unparseable input returns /.
import { getSourcePage } from '@threadplane/telemetry/shared';Declaration · overload 1
export declare function getSourcePage(value: unknown): string;Parameters
value· requiredunknown
Returns
string