-
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.
issue-#57 - Updated some '_platform' module docs.
- Loading branch information
Showing
5 changed files
with
22 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
## platform/ | ||
## _platform/ | ||
|
||
Platform specific, "functional version" methods. | ||
|
||
*Note:* This directory doesn't get exported in the project, directly, however modules from this directory get exported via other exports (in '../function', '../object' modules, etc., for example), usually under aliases, or are just used in those (other) modules, etc.. | ||
|
||
*Note:* This directory doesn't get exported "directly" in the project, instead it is exported as the `platform` module. Additionally, some of its members get individually exported by other modules (for instance `instanceOf` gets exported by '../object' module as well). |
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,5 +1,5 @@ | ||
/** | ||
* @module platform | ||
* @module _platform | ||
*/ | ||
export * from './object'; | ||
export * from './slice'; | ||
|
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,3 +1,6 @@ | ||
/** | ||
* Platform (string) specific combinators. | ||
*/ | ||
export const split = (pattern: string | RegExp, xs: string, limit?: number): string[] => xs?.split(pattern, limit), | ||
|
||
$split = (p: string) => (xs: string): string[] => split(p, xs); |