Closed robsecord closed 6 years ago
The function _getField is returning a Boolean value due to type-coersion with !! so testing the return value against undefined would never succeed. Instead we should be checking the state of the boolean which has been returned.
!!
undefined
Just noticed where this function returns undefined. My mistake, closing PR.
The function _getField is returning a Boolean value due to type-coersion with
!!
so testing the return value againstundefined
would never succeed. Instead we should be checking the state of the boolean which has been returned.