'use strict';
import { isIdentifier, isMemberExpression } from '@flint/infra/analysis';

var __defProp=Object['defineProperty'],__name=(_0x3b43ea,_0x48d7e8)=>__defProp(_0x3b43ea,'name',{'value':_0x48d7e8,'configurable':!![]});function isGetIdFunction(_0x4ad471){const _0x1165f1=/^get.*(Id|ID)$/;let _0x17f3a5=![];if(isIdentifier(_0x4ad471))_0x17f3a5=_0x1165f1['test'](_0x4ad471['name']);else isMemberExpression(_0x4ad471)&&isIdentifier(_0x4ad471['property'])&&(_0x17f3a5=_0x1165f1['test'](_0x4ad471['property']['name']));return _0x17f3a5;}__name(isGetIdFunction,'isGetIdFunction');function isTestFile(_0x563250,_0x3ad2bb=[/\.(?:test|spec)\.[tj]sx?$/i]){return _0x3ad2bb['some'](_0x564903=>_0x564903['test'](_0x563250));}__name(isTestFile,'isTestFile');

export { isGetIdFunction, isTestFile };
