diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-02-01 16:23:16 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-02-01 16:23:16 -0400 |
commit | e17bf53b3f17d8d8aa62869d4fc97883acc5c1fa (patch) | |
tree | 541fab09213494f34c3e859a018ef88ea5be1575 /src/thing/validators.js | |
parent | e64d210cf0a798ae99bec89ca37cffcc1599411d (diff) |
homepage layout data
Diffstat (limited to 'src/thing/validators.js')
-rw-r--r-- | src/thing/validators.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thing/validators.js b/src/thing/validators.js index a465e9d1..49463473 100644 --- a/src/thing/validators.js +++ b/src/thing/validators.js @@ -74,6 +74,13 @@ export function isInteger(number) { return true; } +export function isCountingNumber(number) { + isInteger(number); + isPositive(number); + + return true; +} + export function isString(value) { return isType(value, 'string'); } |