- Preparing search index...
- The search index is not available
Dappetizer
- hasLength<T>(array: Nullish<T[]>, lengthToCheck: 1): array is [T]
-
Returns array is [T]
- hasLength<T>(array: Nullish<T[]>, lengthToCheck: 2): array is [T, T]
-
Returns array is [T, T]
- hasLength<T>(array: Nullish<T[]>, lengthToCheck: 3): array is [T, T, T]
-
Returns array is [T, T, T]
- hasLength<T>(array: Nullish<readonly T[]>, lengthToCheck: 1): array is readonly [T]
-
Parameters
-
array: Nullish<readonly T[]>
-
lengthToCheck: 1
Returns array is readonly [T]
- hasLength<T>(array: Nullish<readonly T[]>, lengthToCheck: 2): array is readonly [T, T]
-
Parameters
-
array: Nullish<readonly T[]>
-
lengthToCheck: 2
Returns array is readonly [T, T]
- hasLength<T>(array: Nullish<readonly T[]>, lengthToCheck: 3): array is readonly [T, T, T]
-
Parameters
-
array: Nullish<readonly T[]>
-
lengthToCheck: 3
Returns array is readonly [T, T, T]