MCPcopy
hub / github.com/triggerdotdev/trigger.dev / filter

Method filter

apps/webapp/app/lib.es5.d.ts:9–9  ·  view source on GitHub ↗

* Returns the elements of an array that meet the condition specified in a callback function. * @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array. * @param thisArg An object to which the this key

(predicate: BooleanConstructor, thisArg?: any)

Source from the content-addressed store, hash-verified

7 * @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
8 */
9 filter<S extends T>(predicate: BooleanConstructor, thisArg?: any): Exclude<S, Falsy>[];
10}
11
12// See this for more: https://twitter.com/mattpocockuk/status/1653403198885904387?s=20

Callers 15

setupFunction · 0.65
gatherProcessEnvFunction · 0.65
buildAndPushImageFunction · 0.65
extractLogsFunction · 0.65
copyAdditionalFilesFunction · 0.65
resolveAllMethod · 0.65
gatherProcessEnvFunction · 0.65
getNodeBodyFunction · 0.65

Implementers 4

Loggerpackages/core-backend/src/logger.ts
ExternalSourcepackages/trigger-sdk/src/triggers/exte
WebhookSourcepackages/trigger-sdk/src/triggers/webh
WebhookTriggerpackages/trigger-sdk/src/triggers/webh

Calls

no outgoing calls

Tested by

no test coverage detected