getCommandBarVisible (Client API reference)
Returns the command bar visibility.
Note
This method is supported only on Unified Interface.
Syntax
formContext.ui.headerSection.getCommandBarVisible();
Return Value
Type: Boolean
Description: true if the command bar is visible; false otherwise.