Skip to content
masterclass Buddy

Jest · Matcher

toBeFalsy

toBeFalsy() checks that a value behaves as false in a Boolean context. It accepts any JavaScript falsy value, not only false.

Last updated

Syntax

expect(value).toBeFalsy()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • toBeTruthy
  • toBe
  • toBeNull
  • toBeUndefined
  • expect

Source: Expect · Jest. Checked 2026-11-03.