Socket
Socket
Sign inDemoInstall

@stamp/is

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stamp/is

Various checking functions used with stamps


Version published
Maintainers
3
Created
Source

@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).

FAQs

Package last updated on 29 Jul 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc