public function assertNotEmpty()

in src/Assert.hack [237:248]


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