Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

flex-form-hook-helpers

1.0.0 • Public • Published

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.

Install

npm i flex-form-hook-helpers

DownloadsWeekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.35 kB

Total Files

5

Last publish

Collaborators

  • avatar