npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

@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

971

version

1.0.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability