Google-apps-script – How to know what files on Google Drive (sheets, docs, slides) has GAS inside

google-apps-scriptgoogle-drivegoogle-drive-search

How to know (search or filter search results) if file on Google Drive (sheet, doc, slide) has GAS inside because Google Apps Scripts are hidden inside files (i.e. custom functions) impossible to search.

Was googling for some scripts (kind a: list files with gas script inside) but unsuccessfully.

My idea is to adapt script but I'm unable to figure out what method to use, because I can't find anything related to scripts or content