Skip to content

headDetached ​

Determines whether the repository HEAD is detached.

Signature ​

ts
class Repository {
  headDetached(): boolean;
}

Returns ​

  • boolean

    Returns true if the repository HEAD is detached.

Released under the MIT License.