docs(core): add note that isObject returns true for arrays

Closes #6353