Skip to main content

Function: formatOrcidUrl()

formatOrcidUrl(orcid): string

Defined in: web/lib/hooks/use-author.ts:240

Formats an ORCID for display with the full URL.

Parameters

orcid

string

The ORCID identifier (e.g., "0000-0002-1825-0097")

Returns

string

The full ORCID URL

Example

formatOrcidUrl('0000-0002-1825-0097')
// Returns 'https://orcid.org/0000-0002-1825-0097'