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

Parameter

Type

Description

kinds

string | string[]

**Returns:**

(entity: Entity) => boolean