Skip to content

editor › Globals › LodashishUtils

Class: LodashishUtils

Stuff that one would expect as being part of lodash but is not.

Hierarchy

  • LodashishUtils

Index

Methods

Methods

Static combinations

▸ combinations‹T›(objs: T[]): Array‹[T, T]›

Defined in src/util/LodashishUtils.ts:11

Returns the all pairings of elements in an array eg. [A, B, C] → [[A,B], [A,C], [B,C]]

Type parameters:

▪ T

Parameters:

Name Type
objs T[]

Returns: Array‹[T, T]›