hasLabels()
Home > @backstage/plugin-catalog > hasLabels
Returns true if the given entity has labels annotation given by the catalog. For use by EntitySwitch
Signature:
function hasLabels(entity: Entity): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
entity |
boolean