@stamp/is

    1.0.0 • Public • Published

    @stamp/is

    Various checking functions used with stamps

    import {isStamp, isDescriptor, isComposable} from '@stamp/is';
    // or
    const {isStamp, isDescriptor, isComposable} = require('@stamp/is');

    isStamp(arg)

    @stamp/is/stamp

    Checks if passed argument is a function and has a .compose() property.

    isDescriptor(arg)

    @stamp/is/descriptor

    Checks if passed argument is considered a descriptor.

    isComposable(arg)

    @stamp/is/composable

    Checks if passed argument is considered as composable (aka stamp or descriptor).

    Keywords

    none

    Install

    npm i @stamp/is

    DownloadsWeekly Downloads

    1,600

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • fredyc
    • koresar
    • stamp