Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

8base Validate

This library is used by the other 8base service packages to validate forms. You can also use it to make your own form validation etc.

API

Table of Contents

validatorFacade

ValidatorFacade creates a validation function based on field metadata

Type: function (field: Field): function (value: any): ValidationError?

Parameters

  • field Field metadata

Returns Function Validation function