Preparing search index...
The search index is not available
Formoose
Formoose
EnsureSchema
Function EnsureSchema
Ensure
Schema
(
dataChecker
)
:
boolean
Parameters
dataChecker
:
DataChecker
Returns
boolean
Description
Runs all validations needed to ensure the whole schema
Throws
FormooseError
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
src
custom-errors
ErrorCodes
ErrorCodes.ts
ErrorCodes
ErrorHandler
ErrorHandler.ts
ErrorHandler
FormooseError
FormooseError.ts
FormooseError
models
SupportedTypes.enum.ts
SupportedTypesEnum
CustomError.ts
CustomError
FieldProperties.ts
FieldProperties
FormState.ts
FormState
PayloadFormat.ts
PayloadFormat
Schema.ts
Schema
SchemaItem.ts
SchemaItem
ChangeEventOrName.ts
ChangeEventOrName
DataChecker.ts
DataChecker
StateSetter.ts
Dispatch
SetStateAction
StateSetter
I18nTypes.ts
FormooseTFunction
SchemaGetter.ts
SchemaGetter
UseFormooseReturn.ts
UseFormooseReturn
core
Formoose
Formoose.ts
Formoose
CustomValidate
CustomValidate.ts
CustomValidate
EnsureSchema
EnsureSchema.ts
EnsureSchema
EnumChecker
EnumChecker.ts
EnumChecker
MaxLengthChecker
MaxLengthChecker.ts
MaxLengthChecker
MinLengthChecker
MinLengthChecker.ts
MinLengthChecker
RequiredChecker
RequiredChecker.ts
RequiredChecker
TypeChecker
TypeChecker.ts
TypeChecker
getTypeValidator
Validate
Validate.ts
Validate
tools
checkIfBelongsToSchema
checkIfBelongsToSchema.validation.ts
checkIfBelongsToSchema
cleanError
cleanError.ts
cleanError
convertModelToForm
convertModelToForm.ts
convertModelToForm
getMaxLength
getMaxLength.ts
getMaxLength
getModel
getModel.ts
getModel
getSimpleObject
getSimpleObject.ts
getSimpleObject
handleFieldChange
handleFieldChange.ts
handleFieldChange
mountFormState
MountFormState.ts
mountFormState
setError
setError.ts
setError
setMessage
setMessage.ts
setMessage
setValue
setValue.ts
setValue
updateFormDataValues
updateFormDataValues.ts
updateFormDataValues
validateAllFieldsSync
validateAllFieldsSync.ts
validateAllFieldsSync
validateOneField
validateOneField.ts
validateOneField
validators
isArray
isArray.ts
isArray
isBoolean
isBoolean.ts
isBoolean
isEmpty
isEmpty.ts
isEmpty
isNumber
isNumber.ts
isNumber
isString
isString.ts
isString
matchEnum
matchEnum.ts
matchEnum
matchValidate
matchValidate.ts
matchValidate
maxLength
maxLength.ts
maxLength
minLength
minLength.ts
minLength
hooks
useFormoose
useFormoose.tsx
useFormoose
Generated using
TypeDoc
Description
Runs all validations needed to ensure the whole schema
Throws
FormooseError