Skip to content

Commit 4049e2e

Browse files
refactor(Wrap): change the toStringTag name from the wrap to Wrap and update jsdoc.
1 parent d8d0f4b commit 4049e2e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib/wrap.class.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class Wrap<
4343
* @angularpackage
4444
*/
4545
public get [Symbol.toStringTag](): string {
46-
return 'wrap';
46+
return 'Wrap';
4747
}
4848
//#endregion instance public accessors.
4949

@@ -174,8 +174,8 @@ export class Wrap<
174174
}
175175

176176
/**
177-
* Checks whether the primitive value of a specified object has the closing chars or given closing chars. If given closing chars in the
178-
* constructor are the empty `string`, the method returns `false`.
177+
* Checks whether the primitive value of a specified object has the closing chars or given `closing` chars. If given `closing` chars in
178+
* the constructor are the empty `string`, the method returns `false`.
179179
* @param closing Optional closing chars of a `string` type to check whether the primitive value contains them at the **end**.
180180
* @returns The return value is a `boolean` indicating whether the primitive value has the closing chars or given closing chars.
181181
* @angularpackage
@@ -188,8 +188,8 @@ export class Wrap<
188188
}
189189

190190
/**
191-
* Checks whether the primitive value of a specified object has the opening chars or given opening chars. If given opening chars in the
192-
* constructor are the empty `string`, the method returns `false`.
191+
* Checks whether the primitive value of a specified object has the opening chars or given `opening` chars. If given `opening` chars in
192+
* the constructor are the empty `string`, the method returns `false`.
193193
* @param opening Optional opening chars of a `string` type to check if the primitive value contains them at the **beginning**.
194194
* @returns The return value is a `boolean` indicating whether the primitive value has the opening chars or given `opening` chars.
195195
* @angularpackage
@@ -217,8 +217,8 @@ export class Wrap<
217217

218218
/**
219219
* The method checks whether the primitive value of the specified `object` is wrapped by the opening and closing chars of an instance or
220-
* given `opening` and `closing` chars. If given opening or closing chars in the constructor are the empty `string`, the method returns
221-
* `false`.
220+
* given `opening` and `closing` chars. If given `opening` or `closing` chars in the constructor are the empty `string`, the method
221+
* returns `false`.
222222
* @param opening Optional opening chars of a `string` type to check if the primitive value contains them at the beginning. The default
223223
* value is picked from the private `#opening` property of an instance.
224224
* @param closing Optional closing chars of a `string` type to check if the primitive value contains them at the end. The default value is

0 commit comments

Comments
 (0)