has Form Feedback
Type: Function
How to get hasFormFeedback?
JavaScript
import { hasFormFeedback } from 'fds/system';
Checks whether or not any feedback is present in the passed formFeedbackByName. Is generally used in combination with Form.
Arguments
form
Feedback By Name (Required)
Type: Object<FDS~Name, FDS~FormFeedback>
Form feedback keyed by name (corresponds with the "name" prop on form components).
Returns
Type: Boolean
Whether or not any feedback is present.