Modules: enhanced-redux-form/utils/isFieldRegistered

Methods


isFieldRegistered(registeredFields, fieldName)

Returns true if the given fields is among the given collection of registeredFields

Parameters:
Name Type Description
registeredFields Array

Array of registered fields. You can use getRegisteredFields to obtain this

fieldName string

Name of the field

Source:
Returns:

The field instance if it's found, null otherwise

Type
object