isLinkAccepts
True iff `value` names a LINK_KINDS member or a LINK_PROVIDERS key.
True iff value names a LINK_KINDS member or a LINK_PROVIDERS key.
Import from @homepages/template-kit.
Signature
Section titled “Signature”function isLinkAccepts(value: string): booleanParameters
Section titled “Parameters”| Name | Type | Required | Description |
|---|---|---|---|
value |
string |
required |
Returns
Section titled “Returns”boolean
See also
Section titled “See also”acceptsLinkcollectionForSlotmatchLinkProvidertourEmbedUrlvideoEmbedUrlCOLLECTIONSCONTENT_SLOT_TYPESDECISION_TYPESLINK_KINDSLINK_PROVIDERSLINK_STRATEGIESREF_SLOT_TYPESREFERRAL_FIELDSREFERRAL_IMAGE_FIELDSSLOT_TYPESSOURCE_FIELDSVIDEO_SOURCESLinkProviderCollectionFieldCollectionIdKeyCollectionOwnershipContentSlotTypeDecisionTypeLinkKindLinkProviderIdLinkStrategyReferralFieldReferralImageFieldRefSlotTypeSlotTypeSourceFieldContainerSourceFieldDescriptorSourceFieldNameSourceFieldValueTypeVideoSourceWritebackTarget