Skip to content

Commit

Permalink
Add map, nan, numericString, set, weakMap, weakSet
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Apr 2, 2019
1 parent 2b2fea0 commit 20dadbd
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 185 deletions.
46 changes: 31 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,52 @@ is.object(value) // false;

### API

**is.null**

**is.undefined**
**is.array**

**is.nullOrUndefined**
**is.boolean**

**is.string**
**is.date**

**is.number**
**is.domElement**

**is.function**

**is.boolean**
**is.generator**

**is.array**
**is.iterable**

**is.object** (objects, functions and arrays)
**is.map**

**is.plainObject** (just objects)
**is.nan**

**is.date**
**is.null**

**is.promise**
**is.nullOrUndefined**

**is.iterable**
**is.number**

**is.generator**
**is.numericString**
Returns true for a string that represents a number. For example, '42' and '-8'.
Note: 'NaN' returns false, but 'Infinity' and '-Infinity' return true

**is.object**
Functions and arrays are objects too.

**is.plainObject**
Just objects

**is.promise**

**is.regexp**

**is.set**

**is.string**

**is.symbol**

**is.domElement**
**is.undefined**

**is.weakMap**

**is.weakSet**
Loading

0 comments on commit 20dadbd

Please sign in to comment.