TYPE

Returns the specific type of the member of the business object group as a string constant <callout type=“primary” icon=“true” title=“note”>Cannot be used in queries</callout>

The name of the business object group

IF TYPE (Account) = 'PersonalSavingAccount' THEN ... 

(this assumes that the Account is a business object group having PersonalSavingAccount as its member)