MCPcopy Create free account
hub / github.com/arktypeio/arktype / array

Method array

ark/type/variants/base.ts:433–433  ·  view source on GitHub ↗

* #### an array of this * * @example * const User = type({ name: "string" }) * // Type<{ name: string }[]> * const Users = User.array()

()

Source from the content-addressed store, hash-verified

431 * const Users = User.array()
432 */
433 array(): ArrayType<t[], $>
434
435 /**
436 * #### {@link https://arktype.io/docs/objects#properties-optional | optional definition}

Callers 15

unionComparison.tsFile · 0.80
scenarios.tsFile · 0.80
childrenFunction · 0.80
zodMini.tsFile · 0.80
orders.tsFile · 0.80
users.tsFile · 0.80
catalog.tsFile · 0.80
orders.tsFile · 0.80
users.tsFile · 0.80
catalog.tsFile · 0.80
orders.tsFile · 0.80

Calls

no outgoing calls

Tested by 12

levelDataOfFunction · 0.64
flagsFunction · 0.64
nodeOfFunction · 0.64
dataFunction · 0.64
inputsOfFunction · 0.64
treeInFunction · 0.64
levelsFunction · 0.64
numberedFunction · 0.64
keysOfFunction · 0.64
arrayKeysOfFunction · 0.64
dateKeysOfFunction · 0.64
fixturesOfFunction · 0.64