MCPcopy Create free account
hub / github.com/DavidWells/analytics / isArrayParam

Function isArrayParam

packages/analytics-util-params/src/utils/regex.js:8–10  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

6}
7
8export function isArrayParam(key) {
9 return key.substring(key.length - 2) === '[]'
10}

Callers 1

paramsCleanFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected