Skip to content

Commit fcec2ae

Browse files
docs(README.md): update
1 parent 964839f commit fcec2ae

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,11 +1705,15 @@ const guardBoolean: GuardBoolean = <B extends AnyBoolean>(value: B, callback?: R
17051705
| :-------------------------------------- | :--------------- | :---------- |
17061706
| `B` extends [`AnyBoolean`](#anyboolean) | From the `value` | A `B` variable from the `value` to the return type `value` is `B` |
17071707

1708+
----
1709+
17081710
| Parameter | Type | Description |
17091711
| :-------- | :-------------------------------------: | :--------------------------------------------------- |
17101712
| value | `B` extends [`AnyBoolean`](#anyboolean) | An [`AnyBoolean`](#anyboolean) type `value` to guard |
17111713
| callback? | [`ResultCallback`][resultcallback] | An Optional [`ResultCallback`][resultcallback] function to handle result before returns eg. to throw an `Error` |
17121714

1715+
----
1716+
17131717
| Return type | Description |
17141718
| :------------- | :---------- |
17151719
| `value` is `B` | The **return value** is a `boolean` indicating whether or not the `value` is a `boolean` type or [`Boolean`][boolean] object |
@@ -1729,6 +1733,8 @@ const guardClass: GuardClass = <Class>(value: Class, callback?: ResultCallback):
17291733
| :------------ | :--------------- | :---------- |
17301734
| `Class` | From the `value` | A `Class` variable from the `value` to the return type `value` is `Class` |
17311735

1736+
----
1737+
17321738
| Parameter | Type | Description |
17331739
| :-------- | :--------------------------------: | :-------------------------------------- |
17341740
| value | `Class` | A generic `Class` type `value` to guard |
@@ -2467,13 +2473,6 @@ MIT © angular-package ([license][license])
24672473

24682474
----
24692475

2470-
<style>
2471-
table {
2472-
width:100%;
2473-
margin-bottom: 16px;
2474-
}
2475-
</style>
2476-
24772476
<!-- Changes -->
24782477
[new]: https://img.shields.io/badge/-new-green
24792478
[update]: https://img.shields.io/badge/-update-red

0 commit comments

Comments
 (0)