getEntityName (Client API reference)
Returns a string representing the logical name of the table for the record.
Syntax
formContext.data.entity.getEntityName();
Note
Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.
Return Value
Type: String.
Description: The name of the table.