Closed ahoym closed 6 years ago
Code Climate has analyzed commit 28325768 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 97.5% (0.0% change).
View more on Code Climate.
Context
The
getIs*ing
base selectors would error if the single entity in question didn't exist. This adds an existence check, and returnsundefined
if theentity
is undefinedAdditional Changes
entity &&
existence check so that!!entity.is*
wont cause errors for calling a property ofundefined
ornull
Tasks