blank

Version, currently 0.2.02 versions

github.com/kostya/blank

method Blank for Crystal Language

7 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  blank:
    github: kostya/blank
    version: ~> 0.2.0

Then run:

shards install

shard.yml

Crystal
*
License
MIT
Author
Konstantin Makarchev <kostya27@gmail.com>

Dependencies

This version declares no dependencies.

README

# blank

method Blank for Crystal Language

## Installation


Add this to your application's `shard.yml`:

```yaml
dependencies:
  blank:
    github: kostya/blank
```


## Usage


```crystal
require "blank"

p "".blank? # => true
p 1.blank? # => false
p nil.blank? # => true
p [1].blank? # => false
```