Skip to content

isEmpty

Tests whether this repository is empty.

Signature

ts
class Repository {
  isEmpty(): boolean;
}

Returns

  • boolean

    Returns true if repository is empty.

Released under the MIT License.