1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.extractODataEtagV4 = exports.extractODataEtag = void 0;
|
4 | /**
|
5 | * Extractor for the ETag for OData v4 responses used in [[entityDeserializer]].
|
6 | * @param json - Response data from which the ETag is extracted.
|
7 | * @returns The ETag.
|
8 | */
|
9 | function extractODataEtag(json) {
|
10 | return json === null || json === void 0 ? void 0 : json['@odata.etag'];
|
11 | }
|
12 | exports.extractODataEtag = extractODataEtag;
|
13 | exports.extractODataEtagV4 = extractODataEtag;
|
14 | //# sourceMappingURL=extract-odata-etag.js.map |
\ | No newline at end of file |