Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fundot-utils

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fundot-utils

Fundot utilities

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Fundot Utilities

Utilities for the functional library Fundot

build status

Example

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

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 directly.

utils.toArray(arguments)

Creates an array from given arguments and returns it.

Install

With npm do:

npm install fundot-utils

License

MIT

FAQs

Package last updated on 11 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc