This version of Unity is unsupported.

Asset.IsState

public bool IsState(VersionControl.Asset.States state);

Parameters

stateState to check for.

Description

Returns true if the version control state of the asset exactly matches the input state.