rc-js-util
Advanced tools
Comparing version 5.0.0-alpha.8 to 5.0.0-alpha.9
@@ -40,3 +40,3 @@ import { arrayBinaryIndexOf } from "./impl/array-binary-index-of"; | ||
static readonly compactMap: typeof arrayCompactMap; | ||
/** {@inheritDoc arrayContains} */ | ||
/** {@inheritDoc (arrayContains:2)} */ | ||
static readonly contains: typeof arrayContains; | ||
@@ -43,0 +43,0 @@ /** {@inheritDoc arrayCopyInto} */ |
@@ -48,3 +48,3 @@ "use strict"; | ||
_Array.compactMap = array_compact_map_1.arrayCompactMap; | ||
/** {@inheritDoc arrayContains} */ | ||
/** {@inheritDoc (arrayContains:2)} */ | ||
_Array.contains = array_contains_1.arrayContains; | ||
@@ -51,0 +51,0 @@ /** {@inheritDoc arrayCopyInto} */ |
@@ -0,1 +1,2 @@ | ||
import { TTypedArray } from "../typed-array/t-typed-array"; | ||
/** | ||
@@ -6,6 +7,12 @@ * @public | ||
* @remarks | ||
* See {@link arrayContains}. | ||
* See {@link (arrayContains:1)}. | ||
*/ | ||
import { TTypedArray } from "../typed-array/t-typed-array"; | ||
export declare function arrayContains(items: TTypedArray, item: number): boolean; | ||
/** | ||
* @public | ||
* Returns true if the item is present in the list (=== equality test). | ||
* | ||
* @remarks | ||
* See {@link (arrayContains:2)}. | ||
*/ | ||
export declare function arrayContains<TItem>(items: readonly TItem[], item: TItem): boolean; |
@@ -37,2 +37,3 @@ export { IDebugWeakStore, IDebugSharedObject, IDebugSharedObjectLifeCycleChecks, TDebugListener, IDebugProtectedView, IDebugWeakBroadcastEvent } from "rc-js-util-globals/index"; | ||
export { Vec4, TVec4CtorArgs } from "./array/typed-array/vec4/vec4"; | ||
export { TTypedArray } from "./array/typed-array/t-typed-array"; | ||
export { CircularBuffer } from "./collection/circular-buffer"; | ||
@@ -39,0 +40,0 @@ export { CircularFIFOStack, ECircularStackOverflowMode } from "./collection/circular-fifo-stack"; |
{ | ||
"name": "rc-js-util", | ||
"version": "5.0.0-alpha.8", | ||
"version": "5.0.0-alpha.9", | ||
"license": "MIT", | ||
@@ -12,3 +12,3 @@ "scripts": { | ||
"lint": "rc-ts-lint -c node_modules/rc-lint-rules/.eslintrc.js src/", | ||
"ci-build": "npm run build && npm run lint && npm run test && npm run lib", | ||
"ci-build": "npm run build && npm run lint && npm run test && npm run lib && npm run generate-docs", | ||
"test": "jasmine --config=jasmine.json", | ||
@@ -15,0 +15,0 @@ "debug-test": "node --inspect-brk node_modules/jasmine/bin/jasmine.js --config=jasmine.json" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
454112
6197