Module: validateSchema

Members

(inner, constant) monthDays :Map

Map of Days in a Month based on Year
Type:
  • Map
Source:

Methods

(inner) validateDate(input) → {Object|false}

Validates Input against DateSchema
Parameters:
Name Type Description
input * Input Argument
Source:
Returns:
Value of Input if Valid, false otherwise
Type
Object | false

(inner) validateSchema(input) → {Object|false}

Validates Input against AdventSchema
Parameters:
Name Type Description
input * Input Argument
Source:
Returns:
Value of Input if Valid, false otherwise
Type
Object | false

(inner) validateTags(input) → {Object|false}

Validates Input against AdventSchema.tags
Parameters:
Name Type Description
input * Input Argument
Source:
Returns:
Value of Input if Valid, false otherwise
Type
Object | false