Skip to content

Instantly share code, notes, and snippets.

@gregturn

gregturn/app.js

Created Feb 28, 2017
Embed
What would you like to do?
requiredFieldsFilledOut() {
return this.state.required.filter(field => this.state[field]).length === this.state.required.length
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.