Skip to content
Snippets Groups Projects
Commit 0ba863a3 authored by Agustin's avatar Agustin
Browse files

See previous push

parent 01ee84dc
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ import ParserService from './ParserService';
// eslint-disable-next-line max-len
const isIndividualMaternity = (obj: IndividualMaternity | PopulationMaternity): obj is IndividualMaternity => {
if ((obj as IndividualMaternity).pregnantWomen) {
if ((obj as IndividualMaternity).pregnantWomen !== undefined) {
return true;
}
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment