Yurii Rybak
Results
1
comments of
Yurii Rybak
``` const tuple = (...Types) => types.refinement( `[${Types.map(type => type.name).join(',')}]`, types.array(types.union(...Types)), snapshot => { if (snapshot.length !== Types.length) return false const invalidValue = snapshot .findIndex((value, index) => Types[index].is(value) === false)...