MetroSearchOptions
Public options accepted by find and the findBy* family.
type MetroSearchOptions = { … }Members
booleanReturns every match as an array instead of the first match; false when omitted.
booleanSearches modules earlier searches found before scanning the whole registry; true when omitted.
booleanSearches only the modules cached for this filter and never scans the registry; false when omitted.
booleanAlso tests each module's default export when its exports do not match; true when omitted.
any[]Matches an all search starts from; the search sets it itself when it rescans past the cache.
booleanRuns modules that have not loaded yet so they can be searched; false skips them. true when omitted.
booleanReturns the default export rather than the whole module when default matched; true when omitted.
booleanReturns a proxy that runs the search on first access instead of now.
booleanReturns the Metro module record instead of its exports; false when omitted.