Home > @uniformdev/richtext > isArrayWithLength

isArrayWithLength() function

Signature:

declare function isArrayWithLength<T>(arr: T[] | unknown | undefined): arr is T[];

Parameters

ParameterTypeDescription
arrT[] | unknown | undefined

Returns:

arr is T[]