workflow.resource.getsourceswithprofile.md

January 18, 2023 ยท View on GitHub

Home > @datashaper/workflow > Resource > getSourcesWithProfile

Resource.getSourcesWithProfile() method

Gets the sources of this resource that match the given profile type

Signature:

getSourcesWithProfile(type: Profile): Resource[];

Parameters

ParameterTypeDescription
typeProfileThe profile type to filter by

Returns:

Resource[]

The sources of this resource that match the given profile type

Contents

  1. 1Resource.getSourcesWithProfile() method
  2. 2Parameters