Created
September 18, 2022 21:21
-
-
Save fostyfost/be86e50b48eed4fb887810252150d512 to your computer and use it in GitHub Desktop.
Non Empty Array
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type NonEmptyArray<T> = [T, ...T[]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment