<commit_before># Is Blank

[![Build Status](https://travis-ci.org/johnotander/is-blank.svg?branch=master)](https://travis-ci.org/johnotander/is-blank)

Check whether a value is empty or blank.

## Installation

```
npm i --save is-blank
```

## Usage

```javascript
var isBlank = require('is-blank');

isBlank([]);              // => true
isBlank({});              // => true
isBlank(0);               // => true
isBlank(function(){});    // => true
isBlank(null);            // => true
isBlank(undefined);       // => true
isBlank('');              // => true
isBlank('    ');          // => true<commit_msg>Move travis badge<commit_after># is-blank [![Build Status](https://travis-ci.org/johnotander/is-blank.svg?branch=master)](https://travis-ci.org/johnotander/is-blank)

Check whether a value is empty or blank.

## Installation

```
npm i --save is-blank
```

## Usage

```javascript
var isBlank = require('is-blank');

isBlank([]);              // => true
isBlank({});              // => true
isBlank(0);               // => true
isBlank(function(){});    // => true
isBlank(null);            // => true
isBlank(undefined);       // => true
isBlank('');              // => true
isBlank('    ');          // => true
{'fraction_non_alphanumeric': 0.20393120393120392, 'fraction_numerical': 0.001638001638001638, 'mean_word_length': 2.232804232804233, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1931144', 'n_tokens_mistral': 411, 'n_tokens_neox': 398, 'n_words': 78}