1.0.0 • Published 5 years ago

flex-form-hook-helpers v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

API

Table of Contents

isRequired

This function check if a value exist or not.

Parameters

  • message string (optional, default 'Field is required.')

Returns Function returns another function which check if the value exists.

isEmail

This function check if an email is correct or not.

Parameters

  • message string (optional, default 'Email is not valid.')

Returns Function returns another function which check if email is correct.