main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
259 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { Length } from './Length';
|
---|
| 2 | import { List } from './List';
|
---|
| 3 | /**
|
---|
| 4 | * Get the first entry of `L`
|
---|
| 5 | * @param L to extract from
|
---|
| 6 | * @returns [[Any]]
|
---|
| 7 | * @example
|
---|
| 8 | * ```ts
|
---|
| 9 | * ```
|
---|
| 10 | */
|
---|
| 11 | export declare type Head<L extends List> = Length<L> extends 0 ? never : L[0];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.