Skip to content
This repository has been archived by the owner on Jul 7, 2018. It is now read-only.

Commit

Permalink
minify the code
Browse files Browse the repository at this point in the history
  • Loading branch information
parzhitsky committed Apr 24, 2017
1 parent b44951d commit f797420
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions readme-chapters/types.md
Expand Up @@ -84,7 +84,7 @@
```javascript
check.isString(""); // true
check.isString(new String()); // true
check.isString(new (class extends String {})()); // true
check.isString(new class extends String{}); // true
```

- ### check.isNotString(input): boolean
Expand All @@ -95,7 +95,7 @@
```javascript
check.isNotString(""); // false
check.isNotString(new String()); // false
check.isNotString(new (class {})()); // true
check.isNotString(new class{}); // true
```

_reversed `check.isString()`_
Expand Down Expand Up @@ -133,7 +133,7 @@
```javascript
check.isArray({}); // false
check.isArray([]); // true
check.isArray(new (class extends Array {})()); // true
check.isArray(new class extends Array{}); // true
```

```javascript
Expand All @@ -151,7 +151,7 @@
```javascript
check.isArraylike({ 0: "0", 1: "1" }); // false
check.isArraylike({ length: 2 }); // true
check.isArraylike(new (class extends Array {})()); // true
check.isArraylike(new class extends Array{}); // true
```

```javascript
Expand All @@ -169,7 +169,7 @@
```javascript
check.isIterable({ 0: "0", 1: "1" }); // false
check.isIterable({ 0: "0", 1: "1", length: 2 }); // false
check.isIterable(new (class extends Array {})()); // true
check.isIterable(new class extends Array{}); // true
```

```javascript
Expand All @@ -187,7 +187,7 @@
```javascript
check.isNotIterable({ 0: "0", 1: "1" }); // true
check.isNotIterable({ 0: "0", 1: "1", length: 2 }); // true
check.isNotIterable(new (class extends Array {})()); // false
check.isNotIterable(new class extends Array{}); // false
```

_reversed `check.isIterable()`_
Expand All @@ -200,7 +200,7 @@
```javascript
check.isNotArray({}); // true
check.isNotArray([]); // false
check.isNotArray(new (class {})()); // true
check.isNotArray(new class{}); // true
```

_reversed `check.isArray()`_
Expand Down

0 comments on commit f797420

Please sign in to comment.