TinyBase logoTinyBase β

AnyArray

The AnyArray type is a simple alias for an array with unknown values.

unknown[] | readonly unknown[]

It is used to indicate that the value should be considered to be a JavaScript array, as can be stored in a Cell or Value with the array schema type.

The array's values should recursively be strings, finite numbers, booleans, null, plain objects, or arrays. The permissive unknown type does not imply that other JavaScript values will survive TinyBase's JSON serialization.

Since

v8.0.0