Verifies that the input data is not undefined. If specified, checks the maximum allowed size.

  • maxnumber, 10000 the maximum JSON or string length
'use strict';
thorin.validate('ANY', 'inputString', {
   max: 10000
Do you have a question or is something missing?

You can always create a new issue on GitHub or contact one of the core founders by chat.