public function assertEmpty()

in src/Assert.hack [224:235]


  public function assertEmpty(mixed $actual, string $message = ''): void {
    if ($this->isPHPEmpty($actual)) {
      return;
    }
    throw new ExpectationFailedException(
      Str\format(
        "%s\nFailed asserting that %s is empty",
        $message,
        \var_export($actual, true),
      ),
    );
  }