# fundot-utils

> Fundot utilities

Latest version **0.0.2** (published 2013-04-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install fundot-utils
pnpm add fundot-utils
yarn add fundot-utils
bun add fundot-utils
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2013-04-11 |
| First published | 2013-04-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jacob Chapel |
| Maintainers | chapel |

## Links

- npm: https://www.npmjs.com/package/fundot-utils
- Repository: https://github.com/chapel/fundot-utils
- npm.io page: https://npm.io/package/fundot-utils

## Recent versions

- 0.0.2 (latest) — 2013-04-11
- 0.0.1 — 2013-04-11

## README

# Fundot Utilities
Utilities for the functional library [Fundot](https://github.com/chapel/fundot)

[![build status](https://secure.travis-ci.org/chapel/fundot-utils.png)](http://travis-ci.org/chapel/fundot-utils)

# Example

``` js
var utils = require('fundot-utils')

console.log(utils.isArrayLike({}))
console.log(utils.isObject([]))
console.log(utils.slice([1, 2, 3], 2))
console.log(utils.toArray(1))
```

```
$ node example/utils.js
false
false
[ 3 ]
[ 1 ]
```

# Methods

``` js
var utils = require('fundot-utils')
```

## utils.isArrayLike(arg)

Checks if the given argument is an array like object. If the argument contains a length property that's type is a number, it will return true.

## utils.isObject(object)

Checks if the given argument is a true object. If the argument is a true object then it returns true.

## utils.slice(array, number)

Uses [Array.prototype.slice](https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/slice) directly.

## utils.toArray(arguments)

Creates an array from given arguments and returns it.

# Install

With [npm](https://npmjs.org) do:

```
npm install fundot-utils
```

# License

MIT

---
_Source: https://npm.io/package/fundot-utils · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
