@stdlib/assert-instance-of 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +1 -1
- package/README.md +44 -2
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Copyright (c) 2016-
|
|
1
|
+
Copyright (c) 2016-2022 The Stdlib Authors.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ limitations under the License.
|
|
|
20
20
|
|
|
21
21
|
# instanceOf
|
|
22
22
|
|
|
23
|
-
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
|
|
23
|
+
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
|
|
24
24
|
|
|
25
25
|
> Test whether a value has in its prototype chain a specified constructor as a prototype property.
|
|
26
26
|
|
|
@@ -150,6 +150,25 @@ bool = instanceOf( {}, Function );
|
|
|
150
150
|
|
|
151
151
|
<!-- /.examples -->
|
|
152
152
|
|
|
153
|
+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
|
|
154
|
+
|
|
155
|
+
<section class="related">
|
|
156
|
+
|
|
157
|
+
* * *
|
|
158
|
+
|
|
159
|
+
## See Also
|
|
160
|
+
|
|
161
|
+
- <span class="package-name">[`@stdlib/assert/is-prototype-of`][@stdlib/assert/is-prototype-of]</span><span class="delimiter">: </span><span class="description">test if an object's prototype chain contains a provided prototype.</span>
|
|
162
|
+
- <span class="package-name">[`@stdlib/utils/constructor-name`][@stdlib/utils/constructor-name]</span><span class="delimiter">: </span><span class="description">determine the name of a value's constructor.</span>
|
|
163
|
+
- <span class="package-name">[`@stdlib/utils/inherit`][@stdlib/utils/inherit]</span><span class="delimiter">: </span><span class="description">implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.</span>
|
|
164
|
+
- <span class="package-name">[`@stdlib/utils/type-of`][@stdlib/utils/type-of]</span><span class="delimiter">: </span><span class="description">determine a value's type.</span>
|
|
165
|
+
|
|
166
|
+
</section>
|
|
167
|
+
|
|
168
|
+
<!-- /.related -->
|
|
169
|
+
|
|
170
|
+
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
|
|
171
|
+
|
|
153
172
|
|
|
154
173
|
<section class="main-repo" >
|
|
155
174
|
|
|
@@ -174,7 +193,7 @@ See [LICENSE][stdlib-license].
|
|
|
174
193
|
|
|
175
194
|
## Copyright
|
|
176
195
|
|
|
177
|
-
Copyright © 2016-
|
|
196
|
+
Copyright © 2016-2022. The Stdlib [Authors][stdlib-authors].
|
|
178
197
|
|
|
179
198
|
</section>
|
|
180
199
|
|
|
@@ -193,9 +212,20 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
193
212
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-instance-of/main.svg
|
|
194
213
|
[coverage-url]: https://codecov.io/github/stdlib-js/assert-instance-of?branch=main
|
|
195
214
|
|
|
215
|
+
<!--
|
|
216
|
+
|
|
196
217
|
[dependencies-image]: https://img.shields.io/david/stdlib-js/assert-instance-of.svg
|
|
197
218
|
[dependencies-url]: https://david-dm.org/stdlib-js/assert-instance-of/main
|
|
198
219
|
|
|
220
|
+
-->
|
|
221
|
+
|
|
222
|
+
[umd]: https://github.com/umdjs/umd
|
|
223
|
+
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
|
|
224
|
+
|
|
225
|
+
[deno-url]: https://github.com/stdlib-js/assert-instance-of/tree/deno
|
|
226
|
+
[umd-url]: https://github.com/stdlib-js/assert-instance-of/tree/umd
|
|
227
|
+
[esm-url]: https://github.com/stdlib-js/assert-instance-of/tree/esm
|
|
228
|
+
|
|
199
229
|
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
|
|
200
230
|
[chat-url]: https://gitter.im/stdlib-js/stdlib/
|
|
201
231
|
|
|
@@ -205,6 +235,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
|
|
|
205
235
|
|
|
206
236
|
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/assert-instance-of/main/LICENSE
|
|
207
237
|
|
|
238
|
+
<!-- <related-links> -->
|
|
239
|
+
|
|
240
|
+
[@stdlib/assert/is-prototype-of]: https://www.npmjs.com/package/@stdlib/assert-is-prototype-of
|
|
241
|
+
|
|
242
|
+
[@stdlib/utils/constructor-name]: https://www.npmjs.com/package/@stdlib/utils-constructor-name
|
|
243
|
+
|
|
244
|
+
[@stdlib/utils/inherit]: https://www.npmjs.com/package/@stdlib/utils-inherit
|
|
245
|
+
|
|
246
|
+
[@stdlib/utils/type-of]: https://www.npmjs.com/package/@stdlib/utils-type-of
|
|
247
|
+
|
|
248
|
+
<!-- </related-links> -->
|
|
249
|
+
|
|
208
250
|
</section>
|
|
209
251
|
|
|
210
252
|
<!-- /.links -->
|
package/package.json
CHANGED