getEmbedInfo

See source code

Tests whether an URL supports embedding and returns the result. If we encounter an error, we return undefined.

function getEmbedInfo(
  definitions: readonly TLEmbedDefinition[],
  inputUrl: string
): TLEmbedResult

Parameters

NameDescription

definitions

inputUrl

string

The URL to match

Returns

Prev
getArrowTerminalsInArrowSpace
Next
getOccludedChildren