D
Dashlite
HomeDocumentationGitHubnpm

Documentation

Array(39)

  • chunk
  • compact
  • fill
  • findIndex
  • findLastIndex
  • first
  • flatten
  • flattenDeep
  • flattenDepth
  • fromPairs
  • head
  • indexOf
  • join
  • last
  • lastIndexOf
  • nth
  • pull
  • pullAll
  • pullAllBy
  • pullAllWith
  • pullAt
  • remove
  • reverse
  • slice
  • sortedIndex
  • sortedIndexBy
  • sortedIndexOf
  • sortedLastIndex
  • sortedLastIndexBy
  • sortedLastIndexOf
  • sortedUniq
  • sortedUniqBy
  • tail
  • take
  • takeRight
  • takeRightWhile
  • takeWhile
  • uniq
  • uniqBy

Function(3)

  • debounce
  • memoize
  • throttle

Math(15)

  • add
  • ceil
  • divide
  • floor
  • max
  • maxBy
  • mean
  • meanBy
  • min
  • minBy
  • multiply
  • round
  • subtract
  • sum
  • sumBy

Object(4)

  • clone
  • merge
  • omit
  • pick

String(4)

  • camelCase
  • capitalize
  • kebabCase
  • truncate

Type(3)

  • isArray
  • isEmpty
  • isObject
Category

Type

Type checking and validation utilities

isArray

Checks if value is classified as an Array object.

isArray(value: unknown): value is any[]

isObject

Checks if value is a plain object (not an array, function, or other special object).

isObject(value: unknown): value is Record<string, any>

isEmpty

Checks if value is an empty object, collection, map, or set. Objects are considered empty if they have no own enumerable string keyed properties.

isEmpty(value: unknown): boolean

Dashlite

A modern, type-safe utility library for JavaScript and TypeScript applications.

Resources

  • GitHub Repository
  • npm Package
  • Report Issues

Legal

  • MIT License

Built with ❤️ by Safwan