Dmitry Vibe

Results 6 issues of Dmitry Vibe

https://yadi.sk/i/IMbvWSITyb5Hc https://flowtype.org/try/#0PQKgBAAgZgNg9gdzCYAoVUCuA7AxgFwEs5swo44AKADwC4wBvVMMagfnrYEEAnHgQwCeAHn7ZBAPlQBfAJT0Azvh6FsAc0bMwPAKb5MPUgCIAJjqj9MMfGCUr1RgNwz05Kg1b1sVmGDnO3SgZ-VxwCYlI3ACYaeiYWOjBuPiFRcSk5RWVVDXjtPQNjMwsrGzscpxcMChiPRO8YXxDooJCgA

`ow.nullable.string` instead of `ow.any(ow.string, ow.null)` A generic modifier for `|null|undefined` would also be useful. Maybe it is better if `optional` will also allow `null`? In most cases, you need `|null|undefined`...

enhancement
help wanted

`ow.array.of(ow.string)` clearly better than `ow.array.ofType(ow.string)`

`joi` has a field `isJoi=true`. Is there an analog in `ow`? Maybe use `isPredicate` for this?

Пример https://gist.github.com/Riim/15e80214f3978729b518 . Выдаёт что-то про PositionError, в chrome и firefox всё норм.