@microsoft/kiota-abstractions
Version:
Core abstractions for kiota generated libraries in TypeScript and JavaScript
11 lines • 428 B
JavaScript
export const BackingStoreKey = "backingStoreEnabled";
/**
* Check if the object is an instance a BackedModel
* @param fields The fields of the object
* @returns boolean indicating if the object is a BackedModel
*/
export function isBackingStoreEnabled(fields) {
// Check if the fields contain the backing store key
return Object.keys(fields).includes(BackingStoreKey);
}
//# sourceMappingURL=backingStoreUtils.js.map