Skip to content

Adding "between" to the validator.#287

Open
i-am-tom wants to merge 1 commit intoklein:masterfrom
i-am-tom:master
Open

Adding "between" to the validator.#287
i-am-tom wants to merge 1 commit intoklein:masterfrom
i-am-tom:master

Conversation

@i-am-tom
Copy link

There is code to check the length of a string between two boundaries, but not the magnitude of a number between two boundary values. I've had a go at adding this in; what do people think?

isBetween can be used to check whether a parameter be between two
specified boundary values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant