Skip to content

isHead

Determine if the current local branch is pointed at by HEAD.

Signature

ts
class Branch {
  isHead(): boolean;
}

Returns

  • boolean

    Returns true if the current local branch is pointed at by HEAD .

Released under the MIT License.