toopl

Create a tuple from arguments

Usage no npm install needed!

<script type="module">
  import toopl from 'https://cdn.skypack.dev/toopl';
</script>

README

toopl

Usage:

import { tuple } from 'toopl';

// myTuple has type [number, string, boolean]
const myTuple = tuple(1, '2', true);