private static isFhirStructureDefinition()

in src/implementationGuides/index.ts [82:93]


    private static isFhirStructureDefinition(x: any): x is FhirStructureDefinition {
        return (
            typeof x === 'object' &&
            x &&
            x.resourceType === 'StructureDefinition' &&
            typeof x.url === 'string' &&
            typeof x.name === 'string' &&
            typeof x.description === 'string' &&
            typeof x.baseDefinition === 'string' &&
            typeof x.type === 'string'
        );
    }