Skip to main content

isKind()

Home > @backstage/plugin-catalog > isKind

For use in EntitySwitch.Case. Matches if the entity is of a given kind.

Signature:

function isKind(kinds: string | string[]): (entity: Entity) => boolean;

Parameters

ParameterTypeDescription
kindsstring | string[]

Returns:

(entity: Entity) => boolean