Validation return value


#1

Hey guys, can someone tell me why “is valid” on form returns an array instead of a boolean?
For example, I am executing the following on the official docs (Form Validation chapter):

console.dir($('.ui.form.segment').form('is valid'))

and this gives me:

Array(19)

Am I missing something?