@just-func/types
TypeScript icon, indicating that this package has built-in type declarations

0.5.1 • Public • Published

@just-func/types

NPM version NPM downloads Codecov Codacy Grade

Type System of just-func.

Type guards

  • isJustEmpty()
  • isJustUno()
  • isJustDuo()
  • isJustValue()

Metadata

Metadata is a first-class concept in just-func. A compliant just-func function can accept a JustMeta value as its second parameter.

The parameter is read only and can never be modified by the calling function.

  • JustMeta: The basic form of metadata.
  • StackTraceMeta: Metadata for function that can adjust its stack trace when error occurs.

/@just-func/types/

    Package Sidebar

    Install

    npm i @just-func/types

    Weekly Downloads

    224

    Version

    0.5.1

    License

    MIT

    Unpacked Size

    25.6 kB

    Total Files

    23

    Last publish

    Collaborators

    • unional