IsOnLocalBranch

Description: Returns TRUE if the local machine is maintaining changes that have not been deployed within the repository.
Returns: Boolean
Usage: Script or steady state.
Function Groups: Configuration Management
Related to: HasCompilationErrors | IsAppEditable | IsRunOnly | HasUndeployedChanges | GetAppInstance | GetLoadedAppInstance | GetOEMLayer
Format: LayerModule\IsOnLocalBranch()
Parameters: None
Comments: Also defined as the repository tip being on the local branch.
Useful for determining whether there is anything that can be deployed or reverted.
Note that a steady-state call to this function will not be updated automatically with a repository change.

The Layer object can be acquired using GetAppInstance, GetLoadedAppInstance or GetOEMLayer.