import { is } from "@intelligentgraphics/ig.utilities";
import { IGXA } from "@intelligentgraphics/igd.core";
export function getItemId(item) {
    return item.ID;
}
export var isFolderLike = is(function (item) {
    return item &&
        (item.Type === IGXA.EItemType.Folder ||
            item.Type === IGXA.EItemType.MultiArticle);
});
export var isArticleLike = is(function (item) {
    return item &&
        (item.Type === IGXA.EItemType.ArticleCom ||
            item.Type === IGXA.EItemType.ArticleGfx);
});
export var isSetLike = is(function (item) { return item && item.Type === IGXA.EItemType.Set; });
