fix: avoid instanceof Object
check in isErrorLike
#8527
Merged
instanceof Object
check in isErrorLike
#8527