MCPcopy Create free account
hub / github.com/FirefoxBar/HeaderEditor / isValidArray

Function isValidArray

src/share/core/utils.ts:13–14  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

11 typeof browser.webRequest?.filterResponseData === 'function';
12
13export const isValidArray = <T = any>(v: any): v is T[] =>
14 Array.isArray(v) && v.length > 0;
15
16// Get Active Tab
17export async function getActiveTab() {

Callers 15

getInputFunction · 0.90
ExcludeFunction · 0.90
MatchFunction · 0.90
filterFunction · 0.90
initRulesMethod · 0.90
initHookMethod · 0.90
createDNRFunction · 0.90
initRulesMethod · 0.90
checkHooksMethod · 0.90
modifyReceivedBodyMethod · 0.90
GroupFunction · 0.90
getCommonHeaderKeyFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected