/*!
 * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
 * Licensed under the MIT License.
 */
/**
 * Syntactic sugar for casting
 */
export function asBatchMetadata(metadata) {
    return metadata;
}
/**
 * Syntactic sugar for casting
 */
export function asEmptyBatchLocalOpMetadata(localOpMetadata) {
    return localOpMetadata;
}
export const isBlobMetadata = (metadata) => {
    return (typeof metadata === "object" &&
        metadata !== null &&
        typeof metadata.blobId === "string" &&
        typeof metadata.localId === "string");
};
//# sourceMappingURL=metadata.js.map