Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

fd-isdom

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fd-isdom

[![Build Status](https://travis-ci.org/fp-dom/fd-isDom.svg)](https://travis-ci.org/fp-dom/fd-isDom) [![npm version](https://badge.fury.io/js/fd-isdom.svg)](http://badge.fury.io/js/fd-isdom) > This is a template repo for fp-dom.

Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

fd-isDom

Build Status npm version

This is a template repo for fp-dom.

Installation

npm install fd-isdom --save

Usage

var isDom = require('fd-isdom');
var ifElse = require('fd-ifelse');

ifElse(
  isDom(div),
  () => console.log('yes'),
  () => console.log('no')
);

API

isDom

Checks if a object is a dom object

isDom(obj)

Parameters

NameTypeDescription
obj*Object to be checked

Returns

TypeDescription
functionA function that checks if the value is a dom object

Keywords

fp-dom

FAQs

Package last updated on 31 Jan 2015

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