Skip to content

Commit

Permalink
Add optional note to Rules in Value struct
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Apr 1, 2017
1 parent 84686fd commit 002747f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ Input is the actual value that you would like to run validations against. Becau

This is a slice of rules that you require a particular value to pass.

This is optional, and can be not set if you don't have any rules for your value to pass. The value will still go through the type check if the Input is a non-empty string.

## Rules

A Rule is a very simple type of function:
Expand Down

0 comments on commit 002747f

Please sign in to comment.