Add SchemaVersion type

This commit is contained in:
Daniel Gasienica 2018-03-13 21:54:54 -04:00
parent add4b11df3
commit e9e46464c2
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,5 @@
const isNumber = require('lodash/isNumber');
exports.isValid = value =>
isNumber(value) && value >= 0;