Skip to content

Commit

Permalink
4.0.1
Browse files Browse the repository at this point in the history
Add `.isEmpty` to readme. (oops I thought I added this already!)
  • Loading branch information
jonschlinkert committed Apr 2, 2018
1 parent 280c4b4 commit c6735b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .verb.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ gray-matter returns a `file` object with the following properties.
- `file.content` **{String}**: the input string, with `matter` stripped
- `file.excerpt` **{String}**: an excerpt, if [defined on the options](#optionsexcerpt)
- `file.empty` **{String}**: when the front-matter is "empty" (either all whitespace, nothing at all, or just comments and no data), the original string is set on this property. See [#65](https://github.com/jonschlinkert/gray-matter/issues/65) for details regarding use case.
- `file.isEmpty` **{Boolean}**: true if front-matter is empty.

**Non-enumerable**

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ gray-matter returns a `file` object with the following properties.
* `file.content` **{String}**: the input string, with `matter` stripped
* `file.excerpt` **{String}**: an excerpt, if [defined on the options](#optionsexcerpt)
* `file.empty` **{String}**: when the front-matter is "empty" (either all whitespace, nothing at all, or just comments and no data), the original string is set on this property. See [#65](https://github.com/jonschlinkert/gray-matter/issues/65) for details regarding use case.
* `file.isEmpty` **{Boolean}**: true if front-matter is empty.

**Non-enumerable**

Expand Down

0 comments on commit c6735b8

Please sign in to comment.