setEntityStatusKeyword

Function

adds/updates the entity status typekeyword and returns a new array of typekeywords

  • setEntityStatusKeyword(typeKeywords: string[], status: HubEntityStatus) : string[]

Parameters

Parameter Type Default Notes
typeKeywords Required string[]

entity's current typekeywords

status Required HubEntityStatus

entity status

Returns

string[]

Function defined in common/src/utils/internal/setEntityStatusKeyword.ts:9