falsey

English

Adjective

falsey (not comparable)

  1. Alternative form of falsy
    • 2010, Charles Wyke-Smith, Scriptin' with JavaScript and Ajax: A Designer's Guide, →ISBN, page 44:
      If the variable is set to anything except a falsey value, the test will evaluate to true.
    • 2013, Dan Wellman, Jquery Hotshot, →ISBN:
      In JavaScript, as well as the true or false Boolean values, other types of variables can be said to be truthy or falsey.
    • 2014, Eric T. Freeman & ‎Elisabeth Robson, Head First JavaScript Programming: A Brain-Friendly Guide, →ISBN, page 292:
      To remember which values are truthy and which are falsey, just memorize the five falsey values - undefined, null, 0, "" and NaN -- and remember that everything else is truthy.
    • 2015, Daniel Higginbotham, Clojure for the Brave and True, →ISBN, page 40:
      Clojure uses the Boolean operators or and and. or returns either the first truthy value or the last value, and returns the first falsey value or, if no values are falsey, the last truthy value.

See also

Anagrams

This article is issued from Wiktionary. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.