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

Interface Array

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

Source from the content-addressed store, hash-verified

1type Falsy = false | 0 | "" | null | undefined;
2
3interface Array<T> {
4 /**
5 * Returns the elements of an array that meet the condition specified in a callback function.
6 * @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.
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
13export type Prettify<T> = {

Callers 8

prettyErrorFunction · 0.85
prettyWarningFunction · 0.85
unflattenAttributesFunction · 0.85
TaskActivityBlankStateFunction · 0.85
constructorMethod · 0.85
constructorMethod · 0.85
populateFunction · 0.85
built-ins.tsFile · 0.85

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…