Comparing version 0.4.3 to 0.5.0
# Type: String | ||
## Operators | ||
## Operators | ||
### strings.startsWith(string, substr) | ||
StartsWith tests a string to see if it starts with a substring | ||
```javascript | ||
let result = strings.startsWith('This sentence starts with', 'This'); | ||
console.log(result); | ||
> true | ||
``` | ||
```javascript | ||
result = strings.startsWith('This sentence does not start with', 'Nope'); | ||
console.log(result); | ||
> false | ||
``` |
{ | ||
"name": "absurdum", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"description": "Reductio Ad Absurdum - The Riduculous Application of Reduce", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -70,3 +70,6 @@ [![npm](https://img.shields.io/npm/v/absurdum.svg)](https://www.npmjs.com/package/absurdum) | ||
- [startsWith][str-startswith] | ||
[strings]: ./docs/strings.md | ||
[str-startswith]: ./docs/strings.md#stringsstartswithstring-substr | ||
@@ -73,0 +76,0 @@ ### [HTML][html] |
@@ -5,3 +5,4 @@ const path = require('path'); | ||
entry: { | ||
'arrays': './src/arrays/index.js' | ||
'arrays': './src/arrays/index.js', | ||
'strings': './src/strings/index.js' | ||
}, | ||
@@ -8,0 +9,0 @@ devtool: 'source-map', |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30043
28
389
83
7