Function: pickShareImage() ​

Source: 1.2.2 · f05e2ff455c2

ts
function pickShareImage(candidates): string | undefined;

Defined in: packages/valaxy/shared/seo.ts:40

First usable share image. The site favicon is not a candidate: it is often an SVG and is the same for every page.

Parameters ​

candidates ​

(string | null | undefined)[]

Returns ​

string | undefined