Skip to content

CaseInsensitiveFileIndex.get method

CaseInsensitiveFileIndex › get

Resolves an abstract file by its path, case-insensitively, in O(1).

Signature:

get(path: string): null | TAbstractFile

Parameters:

ParameterTypeDescription
pathstringThe path to resolve.

Returns: null | TAbstractFileThe abstract file if found, otherwise null.