MCPcopy Index your code
hub / github.com/nodejs/node / isAnySupportedFileExtension

Function isAnySupportedFileExtension

test/fixtures/snapshot/typescript.js:20920–20922  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

20918 }
20919 ts.extensionFromPath = extensionFromPath;
20920 function isAnySupportedFileExtension(path) {
20921 return tryGetExtensionFromPath(path) !== undefined;
20922 }
20923 ts.isAnySupportedFileExtension = isAnySupportedFileExtension;
20924 function tryGetExtensionFromPath(path) {
20925 return ts.find(extensionsToRemove, function (e) { return ts.fileExtensionIs(path, e); });

Callers

nothing calls this directly

Calls 1

tryGetExtensionFromPathFunction · 0.85

Tested by

no test coverage detected