Nachos Preventing Motivation

    mol_type_all
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.625 • Public • Published

    $mol_type

    Collection of TypeScript meta types for complex logic.

    Type Asserts

    MAM Usage

    type first_of_tuple = $mol_type_assert<
    	$mol_type_head<[ 1 , 2 , 3 ]> ,
    	1
    >

    NPM usage

    npm install mol_type_all
    import {
    	$mol_type_assert as Assert ,
    	$mol_type_head as Head ,
    } from 'mol_type_all'
    
    type first_of_tuple = Assert<
    	Head<[ 1 , 2 , 3 ]> ,
    	1
    >

    Edit $mol_type example

    Similar Projects

    Install

    npm i mol_type_all

    DownloadsWeekly Downloads

    716

    Version

    0.0.625

    License

    none

    Unpacked Size

    53 kB

    Total Files

    24

    Last publish

    Collaborators

    • jin