0.0.1 • Published 10 years ago
@joegesualdo/is-empty-line v0.0.1
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
0.0.1
10 years ago