Narcoleptic's Patch Mangler

    @3fv/guard
    TypeScript icon, indicating that this package has built-in type declarations

    1.4.25 • Public • Published

    @3fv/guard type guards

    A library which helps typing with basic guards and simple extensions for creating new ones

    guard

    Guard against both sync and async functions & results from exceptions.

    guard.lift

    Lift a function, making it guarded

    Install

    npm i @3fv/guard

    DownloadsWeekly Downloads

    148

    Version

    1.4.25

    License

    MIT

    Unpacked Size

    27.3 kB

    Total Files

    41

    Last publish

    Collaborators

    • jglanz