3.0.0 • Published 4 years ago

@w33bletools/simpleutils v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

simpleutils

Build Status

simple utilities, no dependencies

Usage

isArray(value)

Returns true or false, depending on the value being an array

isPlainObject(value)

Returns true or false, depending on the value being a plain object

isFunction(value)

Returns true or false, depending on the value being a function

isString(value)

Returns true or false, depending on the value being an string

isSymbol(value)

Returns true or false, depending on the value being a symbol

identity(value)

Returns function the value passed in as the first argument

pick(obj, fields)

Given an object and array of fields, returns an object containing all the keys in the fields array

omit(obj, fields)

Given an object and array of fields, returns an object missing all the keys in the fields array

3.0.0

4 years ago

1.0.3

7 years ago

1.0.2

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago