@joegesualdo/is-empty-line
v0.0.1
Published
Detect if a line is empty.
Readme
is-empty-line 
Detect if a line is empty.
Install
$ npm install --save @joegesualdo/is-empty-lineUsage
import isEmptyLine from ('@joegesualdo/is-empty-line')
isEmptyLine('\n ');
// => true
isEmptyLine(' ');
// => true
isEmptyLine('x');
// => falseTest
$ npm testAPI
isEmptyLine(str)
| Name | Type | Required | Default | Description |
|-----------|----------|----------|---------|---------------------------------------- |
| str | String | yes | N/A | The string you want to test |
import isEmptyLine from ('@joegesualdo/is-empty-line')
isEmptyLine('\n ');
// => true
isEmptyLine(' ');
// => true
isEmptyLine('x');
// => falseBuild
$ npm run buildLicense
MIT © Joe Gesualdo
