mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Add SchemaVersion type
This commit is contained in:
5
js/modules/types/schema_version.js
Normal file
5
js/modules/types/schema_version.js
Normal file
@@ -0,0 +1,5 @@
|
||||
const isNumber = require('lodash/isNumber');
|
||||
|
||||
|
||||
exports.isValid = value =>
|
||||
isNumber(value) && value >= 0;
|
||||
Reference in New Issue
Block a user