Skip to content

routier-collection


routier-collection / core/src / assertIsArray

Function: assertIsArray() ​

assertIsArray<T>(data, message?): asserts data is T[]

Defined in: core/src/assertions/index.ts:25

Type Parameters ​

T ​

T

Parameters ​

data ​

unknown

message? ​

string

Returns ​

asserts data is T[]

Released under the MIT License.