isDataSourceOfItem

Function

Determines whether a raw additional resource (i.e. extracted out of formal metadata with no transformation) references the underlying service that backs the item.

Determines whether a raw additional resource (i.e. extracted out of formal metadata with no transformation) references the underlying service that backs the item.

  • isDataSourceOfItem(resource: IAGOAdditionalResource, item: IItem) : boolean

Parameters

Parameter Type Default Notes
resource Required IAGOAdditionalResource

raw additional resource of an item

item Required IItem

Returns

boolean

Function defined in common/src/content/_internal.ts:313