Skip to content

Commit

Permalink
[CI] Update Stats & Extensions Docs
Browse files Browse the repository at this point in the history
Signed-off-by: BirjuVachhani <BirjuVachhani@users.noreply.github.com>
  • Loading branch information
BirjuVachhani committed Nov 7, 2024
1 parent 54e77b1 commit 01e522e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
21 changes: 13 additions & 8 deletions EXTENSIONS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Extensions
> *This file is auto generated. Do not edit this file manually.*
> *Last Updated: Mon, Oct 28, 2024 - 04:23 PM*
> *Last Updated: Thu, Nov 07, 2024 - 06:26 AM*

### on Comparable<dynamic>
Expand Down Expand Up @@ -358,18 +358,23 @@
| [`toBytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L259) | `METHOD` | Converts `this` string to bytes. Default encoding is UTF-8. Use `toUtf16Bytes` for UTF-16 encoding. |
| [`toUtf16Bytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L263) | `METHOD` | Converts `this` string to bytes using UTF-16 encoding. Use `toBytes` for UTF-8 encoding. |
| [`toUnicodeBytes`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L266) | `METHOD` | Converts `this` string to bytes using Unicode encoding. |
| [`takeAfter`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L270) | `METHOD` | Returns the substring after the first occurrence of `pattern`. Returns empty string if `pattern` is not found. |
| [`takeBefore`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L277) | `METHOD` | Returns the substring before the first occurrence of `pattern`. Returns empty string if `pattern` is not found. |
| [`takeAfterLast`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L284) | `METHOD` | Returns the substring after the last occurrence of `pattern`. Returns empty string if `pattern` is not found. |
| [`takeBeforeLast`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L291) | `METHOD` | Returns the substring before the last occurrence of `pattern`. Returns empty string if `pattern` is not found. |
| [`takeBetween`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L298) | `METHOD` | Returns the substring between the first occurrence of `start` and `end`. Returns empty string if `start` or `end` is not found. |


### on String?
| Extension | Type | Description |
|---|---|---|
| [`isNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L272) | `GETTER` | Returns true if `this` is either null or empty string. |
| [`isNotNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L278) | `GETTER` | Returns true if `this` is neither null nor empty string. |
| [`isNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L284) | `GETTER` | Returns true if `this` is either null or blank string. |
| [`isNotNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L290) | `GETTER` | Returns true if `this` is neither null nor blank string. |
| [`hasContent`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L296) | `GETTER` | Alias for `isNotNullOrEmpty` |
| [`orEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L299) | `GETTER` | Returns `this` if it is not null, otherwise returns empty string. |
| [`matchesExactly`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L302) | `METHOD` | Returns true if this string exactly matches the given `pattern`. |
| [`isNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L311) | `GETTER` | Returns true if `this` is either null or empty string. |
| [`isNotNullOrEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L317) | `GETTER` | Returns true if `this` is neither null nor empty string. |
| [`isNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L323) | `GETTER` | Returns true if `this` is either null or blank string. |
| [`isNotNullOrBlank`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L329) | `GETTER` | Returns true if `this` is neither null nor blank string. |
| [`hasContent`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L335) | `GETTER` | Alias for `isNotNullOrEmpty` |
| [`orEmpty`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L338) | `GETTER` | Returns `this` if it is not null, otherwise returns empty string. |
| [`matchesExactly`](https://github.com/BirjuVachhani/screwdriver/blob/main/lib/primitive/string.dart#L341) | `METHOD` | Returns true if this string exactly matches the given `pattern`. |


### on File
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ A dart package aiming to provide useful extensions and helper functions to ease
Check out [EXTENSIONS.md](EXTENSIONS.md) for a complete list of all the available extensions.
<!---stats_start-->
```yaml
Extensions: 270
Extensions: 275
Helper Classes: 5
Helper Functions & Getters: 22
Typedefs: 8
Mixins: 2
```
> *Last Updated: Mon, Oct 28, 2024 - 10:55 AM*
> *Last Updated: Thu, Nov 07, 2024 - 06:26 AM*
<!---stats_end-->
Expand Down

0 comments on commit 01e522e

Please sign in to comment.