Unfortunately type definitions are not available for this package


  • Version 2.0.1
  • Published
  • 1 dependency
  • MIT license


npm i has-values
yarn add has-values
pnpm add has-values


Returns true if any values exist, false if empty. Works for booleans, functions, numbers, strings, nulls, objects and arrays.

Dependencies (1)

Dev Dependencies (2)

Peer Dependencies (0)

No peer dependencies.


To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/has-values.

  • Markdown
  • HTML
    <a href="https://www.jsdocs.io/package/has-values"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>