ts-array-as-tuple

js
Function that asserts the length of an array and casts it to a tuple.
Version 1.0.1 License MIT
<script src=" https://cdn.jsdelivr.net/npm/ts-array-as-tuple@1.0.1/build/as-tuple.min.js "></script>
Function that asserts the length of an array and casts it to a tuple.