Shard Detail

blank v0.1.0

method Blank for Crystal Language

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


blank:
  github: kostya/blank

Readme

blank

method Blank for Crystal Language

Installation

Add this to your application's shard.yml:

dependencies:
  blank:
    github: kostya/blank

Usage

require "blank"

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