# @writetome51/public-array-container-by-type-implementation

> A private function for use inside subclasses of PublicArrayContainer that have the method .byType()

Latest version **1.0.0** (published 2019-04-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @writetome51/public-array-container-by-type-implementation
pnpm add @writetome51/public-array-container-by-type-implementation
yarn add @writetome51/public-array-container-by-type-implementation
bun add @writetome51/public-array-container-by-type-implementation
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-04-17 |
| First published | 2019-04-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Steve Thompson |
| Maintainers | writetome51 |
| Keywords | array, arrays, general, manipulation, private |

## Links

- npm: https://www.npmjs.com/package/@writetome51/public-array-container-by-type-implementation
- Repository: https://github.com/writetome51/public-array-container-by-type-implementation
- Homepage: https://github.com/writetome51/public-array-container-by-type-implementation#readme
- Issues: https://github.com/writetome51/public-array-container-by-type-implementation/issues
- npm.io page: https://npm.io/package/@writetome51/public-array-container-by-type-implementation

## Dependencies (3)

- [error-if-not-string](https://npm.io/package/error-if-not-string.md) ~1.0.0
- [@writetome51/is-array-not-array](https://npm.io/package/@writetome51/is-array-not-array.md) ~1.0.0
- [@writetome51/is-object-not-object](https://npm.io/package/@writetome51/is-object-not-object.md) ~1.0.0

## Recent versions

- 1.0.0 (latest) — 2019-04-17

## README

## _publicArrayContainer_byType_implementation(<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;instance<br>): any 

A private function for use inside subclasses of PublicArrayContainer that  
have the method `.byType()` .  It's meant to be called inside the definition  
of `.byType()` inside each of those classes.

### Parameters
```
type: 'number' | 'boolean' | 'string' | 'array' | 'object' | 'function' | 'undefined' | 'null',
instance: {
    byTest: (testFunction: (item: any, index?: number, array?: any[]) => boolean) => any
}
```


### Installation
```bash
npm i  @writetome51/public-array-container-by-type-implementation
```

### Loading
```
// If using TypeScript:
import { _publicArrayContainer_byType_implementation } 
    from '@writetome51/public-array-container-by-type-implementation';
    
// If using ES5 JavaScript:
var _publicArrayContainer_byType_implementation = 
    require('@writetome51/public-array-container-by-type-implementation')
    ._publicArrayContainer_byType_implementation;
```

---
_Source: https://npm.io/package/@writetome51/public-array-container-by-type-implementation · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
