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
| Parameter | Type | Description |
|---|---|---|
| type | Profile | The profile type to filter by |
Returns:
Resource[]
The sources of this resource that match the given profile type