Options
All
  • Public
  • Public/Protected
  • All
Menu

@datorama/utils

API reference can be found at: https://datorama.github.io/FE/utils

Array

  • intersection
  • union
  • difference
  • differenceBy
  • findIndex
  • minBy
  • last
  • uniq
  • uniqBy
  • drop

Coercion

  • toBoolean
  • toNumber
  • toString
  • coerceArray

Collection

  • findKey
  • sortBy
  • find
  • forEach
  • map
  • keyBy
  • reject
  • groupBy
  • filter
  • size
  • rawDiff

Function

  • throttle
  • debounce
  • curry
  • compose
  • partial

Number

  • round
  • random
  • isFraction

Object

  • get
  • has
  • mapValues
  • mapKeys
  • values
  • merge
  • diff
  • cloneDeep
  • omit
  • omitBy
  • deepEqual

String

  • escape
  • unescape
  • escapeRegExp
  • capitalize
  • camelCase
  • kebabCase
  • createGUID
  • isEmptyString

Validators

  • isFunction
  • isObject
  • isEmpty
  • isNumber
  • isEqual
  • isString

Enums

  • ContentType
  • KeyCodes

Regex

  • validUrl

Sort Comparators

  • dateCompare

Generated using TypeDoc