Skip to main content

Function: hasOrcid()

hasOrcid(profile): boolean

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

Checks if an author has an ORCID linked.

Parameters

profile

The author profile

undefined | null |

{ affiliation: string; affiliations: object[]; arxivAuthorId: string; avatar: string; bio: string; dblpId: string; did: string; displayName: string; fields: string[]; googleScholarId: string; handle: string; nameVariants: string[]; openAlexId: string; openReviewId: string; orcid: string; pdsEndpoint: string; previousAffiliations: object[]; researchKeywords: object[]; scopusAuthorId: string; semanticScholarId: string; website: string; }

The author profile

affiliation

string

Description

Primary institutional affiliation

affiliations

object[]

Description

All institutional affiliations

arxivAuthorId

string

Description

arXiv author ID

avatar

string

Format: uri

Description

Avatar URL

bio

string

Description

Profile biography

dblpId

string

Description

DBLP author ID

did

string

Description

Decentralized Identifier

displayName

string

Description

Display name

fields

string[]

Description

Research field IDs

googleScholarId

string

Description

Google Scholar profile ID

handle

string

Description

Author handle

nameVariants

string[]

Description

Alternative name forms (maiden name, transliterations, initials)

openAlexId

string

Description

OpenAlex author ID

openReviewId

string

Description

OpenReview profile ID

orcid

string

Description

ORCID identifier

pdsEndpoint

string

Format: uri

Description

User PDS endpoint

previousAffiliations

object[]

Description

Previous institutional affiliations

researchKeywords

object[]

Description

Research keywords for content matching

scopusAuthorId

string

Description

Scopus author ID

semanticScholarId

string

Description

Semantic Scholar author ID

website

string

Format: uri

Description

Personal website URL

Returns

boolean

True if the author has an ORCID