lodash

package lodash

Type members

Classlikes

case
object BuildInfo

This object was generated by sbt-buildinfo.

This object was generated by sbt-buildinfo.

Types

type CloneCustomizer = Function4[Any, UndefOr[String | Int], UndefOr[Object], Any, Any]

current item, key (string or string/int), parent object, stack??

current item, key (string or string/int), parent object, stack??

type JSAnyArray = Array[Any]

Value members

Concrete methods

@native @JSImport("lodash", "assign")
def assign[T <: Object](args: T | Object | Dynamic | Unit | UndefOr[Any]*): T
@native @JSImport("lodash", "at")
def at(o: Any, paths: Array[String | Array[String]]): Array[Any]
@native @JSImport("lodash", "castArray")
def castArray[T <: Any](value: T): Array[T]
@native @JSImport("lodash", "clone")
def clone[T <: Object](value: T | Dynamic): T
@native @JSImport("lodash", "cloneDeep")
def cloneDeep[T <: Object](value: T | Dynamic): T
@native @JSImport("lodash", "difference")
def difference[T](lhs: Array[T], rhs: Array[T]): Array[T]
@native @JSImport("lodash", "get")
def get[T](o: Any, path: UndefOr[String] | Array[UndefOr[String]]): UndefOr[T]
@native @JSImport("lodash", "getArray")
def getArray[T](o: Any, path: UndefOr[String] | Array[String]): UndefOr[T]
@native @JSImport("lodash", "get")
def getOrElse[T](o: Any, path: UndefOr[String] | Array[UndefOr[String]], defaultValue: T): T
@native @JSImport("lodash", "groupBy")
def groupBy[T](arr: Array[T], fields: Array[String] | String): Dictionary[Array[T]]
@native @JSImport("lodash", "has")
def has(o: Any, path: String | Array[String]): Boolean
@native @JSImport("lodash", "intersection")
def intersection[T](lhs: Array[T]*): Array[T]
def intersectionBy[T](thunk: Function1[T, T] | String, arr: Array[T]*): Array[Nothing]
@native @JSImport("lodash", "intersectionBy")
def intersectionBy_UNSAFE[T](args: Any*): Array[T]
@native @JSImport("loadash", "isDate")
def isDate(value: Any): Boolean
@native @JSImport("lodash", "isEqual")
def isEqual(lhs: Any, rhs: Any): Boolean
@native @JSImport("lodash", "isNil")
def isNil(value: Any): Boolean
@native @JSImport("lodash", "isNull")
def isNull(value: Any): Boolean
@native @JSImport("lodash", "isUndefined")
def isUndefined(value: Any): Boolean
@native @JSImport("lodash", "merge")
def merge[T <: Object](args: T | Object | Dynamic | Unit | UndefOr[Any]*): T
@native @JSImport("lodash", "merge")
def mergeAny[T <: Object](args: Any | Dynamic*): T
@native @JSImport("lodash", "omit")
def omit[T <: Object](o: Object, paths: Array[String] | Array[String | Array[String]]): T
@native @JSImport("lodash", "omitBy")
def omitBy[T <: Object](o: Object, predicate: Any): T
@native @JSImport("lodash", "orderBy")
def orderBy[T <: Any](values: Array[T], fields: Array[String], directions: UndefOr[Array[String]]): Array[T]
@native @JSImport("lodash", "pick")
def pick[T <: Object](o: Object, paths: Array[String] | Array[String | Array[String]]): T
@native @JSImport("lodash", "round")
def roundDouble(value: Double, precision: UndefOr[Int]): Double
@native @JSImport("lodash", "round")
def roundFloat(value: Float, precision: UndefOr[Int]): Float
@native @JSImport("lodash", "round")
def roundInt(value: Int, precision: UndefOr[Int]): Int
@native @JSImport("lodash", "round")
def roundLong(value: Long, precision: UndefOr[Int]): Long
def safeGet[T : ClassTag](o: Any, path: UndefOr[String] | Array[UndefOr[String]]): UndefOr[T]

Safe get something by matching on the type after using a ClassTag.

Safe get something by matching on the type after using a ClassTag.

@native @JSImport("lodash", "template")
def template(source: String, options: UndefOr[Object | Dynamic]): Function1[Object | Dynamic, String]

Concrete fields

@native @JSImport("lodash", "identity")
val identity: Any
@native @JSImport("lodash", "templateSettings")
val templateSettings: Dynamic