Home > @uniformdev/richtext > isArrayWithLength
isArrayWithLength() function
Signature:
declare function isArrayWithLength<T>(arr: T[] | unknown | undefined): arr is T[];
Parameters
Parameter | Type | Description |
---|---|---|
arr | T[] | unknown | undefined |
Returns:
arr is T[]