-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from aedart/add-concerns
Add concerns
- Loading branch information
Showing
268 changed files
with
15,490 additions
and
1,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { defineClientConfig } from '@vuepress/client'; | ||
import type { ClientConfig } from '@vuepress/client'; | ||
// @ts-ignore | ||
import Layout from "./layouts/Layout.vue"; | ||
|
||
export default defineClientConfig({ | ||
export default { | ||
enhance({ app, router, siteData }) {}, | ||
setup() {}, | ||
rootComponents: [], | ||
layouts: { | ||
Layout | ||
} | ||
}) | ||
} as ClientConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: About Arrays | ||
description: Array utilities. | ||
--- | ||
|
||
# About Arrays <Badge type="tip" text="Available since v0.9" vertical="middle" /> | ||
|
||
`@aedart/support/arrays` contains [array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array) related utilities. |
18 changes: 18 additions & 0 deletions
18
docs/archive/current/packages/support/arrays/includesAll.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Includes All | ||
description: Determine if array contains all values. | ||
sidebarDepth: 0 | ||
--- | ||
|
||
# `includesAll` | ||
|
||
Determines if an array includes all values. | ||
|
||
```js | ||
import { includesAll } from '@aedart/support/arrays'; | ||
|
||
const arr = [ 1, 2, 3 ]; | ||
|
||
includesAll(arr, [ 1, 2 ]); // true | ||
includesAll(arr, [ 1, 4 ]); // false | ||
``` |
18 changes: 18 additions & 0 deletions
18
docs/archive/current/packages/support/arrays/includesAny.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: Includes Any | ||
description: Determine if array contains some values. | ||
sidebarDepth: 0 | ||
--- | ||
|
||
# `includesAny` | ||
|
||
Determines if an array includes some values. | ||
|
||
```js | ||
import { includesAny } from '@aedart/support/arrays'; | ||
|
||
const arr = [ 1, 2, 3 ]; | ||
|
||
includesAll(arr, [ 4, 2 ]); // true | ||
includesAll(arr, [ 5, 5 ]); // false | ||
``` |
30 changes: 30 additions & 0 deletions
30
docs/archive/current/packages/support/arrays/isArrayLike.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
title: Is Array Like | ||
description: Determine if value is array-like. | ||
sidebarDepth: 0 | ||
--- | ||
|
||
# `isArrayLike` | ||
|
||
Determines if a value is ["array-like"](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#array-like_objects). | ||
|
||
(_`isArrayLike()` is an alias for Lodash's [isArrayLike](https://lodash.com/docs/4.17.15#isArrayLike)._) | ||
|
||
```js | ||
import { isArrayLike } from '@aedart/support/arrays'; | ||
|
||
isArrayLike([]); // true | ||
isArrayLike('abc'); // true | ||
isArrayLike(new String('abc')); // true | ||
isArrayLike({ length: 0 }); // true | ||
isArrayLike(new Int8Array()); // true | ||
|
||
isArrayLike({}); // false | ||
isArrayLike(function() {}); // false | ||
isArrayLike(new Boolean(true)); // false | ||
isArrayLike(123); // false | ||
isArrayLike(new Number(123)); // false | ||
// ...etc | ||
``` | ||
|
||
See also [_`isSafeArrayLike()`_](./issafearraylike.md). |
Oops, something went wrong.