is-answer

v0.1.1
Returns true if an answer to a prompt is not undefined, null, an empty object, empty array, or a string with zero length.
answer is

npm i is-answer

Metadata

  • MIT
  • >=0.10.0
  • Jon Schlinkert
  • released 12/31/2016

Downloads

Maintainers