'use strict';
import { hasInternalResourceMeta } from './internal-resource-meta.js';
import { fileExtensions } from '../../../../base-repo/app-constants/internal-system-constants.js';
import { fileSuffixes } from '../../../../base-repo/constants/internal-extensions.js';

var __defProp=Object['defineProperty'],__name=(_0x695b1c,_0x56df72)=>__defProp(_0x695b1c,'name',{'value':_0x56df72,'configurable':!![]});const resourceExtFileEnding=fileSuffixes['extendedResource'];async function isResource(_0x28d385){return hasInternalResourceMeta(_0x28d385);}__name(isResource,'isResource');function isExtendedResource(_0x58f189){return _0x58f189['getSourceFile']()['getFilePath']()['endsWith'](resourceExtFileEnding+fileExtensions['ts']);}__name(isExtendedResource,'isExtendedResource');

export { isExtendedResource, isResource };
