Skip to content

@salesforce/b2c-tooling-sdk / skills / findSkillsByName

Function: findSkillsByName() ​

findSkillsByName(skills, names): object

Defined in: packages/b2c-tooling-sdk/src/skills/parser.ts:136

Find skills that match the given names, returning any that weren't found.

Parameters ​

skills ​

SkillMetadata[]

Available skills

names ​

string[]

Requested skill names

Returns ​

object

Object with matched skills and names not found

found ​

found: SkillMetadata[]

notFound ​

notFound: string[]

Released under the Apache-2.0 License.