chore: update to version 14.0.11 and align website URLs

This commit is contained in:
Kurdistan Tech Ministry committed 2026-01-11 11:34:13 +03:00
1 parent ef74383349
commit 19c8d69bd8
1499 files changed
+53633 -89

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
/**
* @name isInstanceOf
* @summary Tests for a instance of a class.
* @description
* Checks to see if the input value is an instance of the test class.
* @example
* <BR>
*
* ```javascript
* import { isInstanceOf } from '@pezkuwi/util';
*
* console.log('isInstanceOf', isInstanceOf(new Array(0), Array)); // => true
* ```
*/
export function isInstanceOf(value, Clazz) {
return (((value && value.constructor) === Clazz) ||
value instanceof Clazz);
}