docs-devsite/ai.arrayschema.md
Project: /docs/reference/js/_project.yaml Book: /docs/reference/_book.yaml page_type: reference
{% comment %} DO NOT EDIT THIS FILE! This is generated by the JS SDK team, and any local changes will be overwritten. Changes should be made in the source code at https://github.com/firebase/firebase-js-sdk {% endcomment %}
Schema class for "array" types. The items param should refer to the type of item that can be a member of the array.
<b>Signature:</b>
export declare class ArraySchema extends Schema
<b>Extends:</b> Schema
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(schemaParams, items) | Constructs a new instance of the <code>ArraySchema</code> class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| items | TypedSchema |
Constructs a new instance of the ArraySchema class
<b>Signature:</b>
constructor(schemaParams: SchemaParams, items: TypedSchema);
| Parameter | Type | Description |
|---|---|---|
| schemaParams | SchemaParams | |
| items | TypedSchema |
<b>Signature:</b>
items: TypedSchema;