import { OrmUtils } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/util/OrmUtils.ts";
Static Methods
private
compare2Objects(leftChain: any,
rightChain: any,
x: any,
y: any,
chunk<T>(array: T[], size: number): T[][]
Chunks array into peaces.
deepCompare(...args: any[])
Deep compare objects.
groupBy<T, R>(array: T[], propertyCallback: (item: T) => R): { id: R; items: T[]; }[]
isArraysEqual(arr1: any[], arr2: any[]): boolean
Compares two arrays.
isObject(item: any)
mergeDeep(target: any, ...sources: any[]): any
Deep Object.assign.
splitClassesAndStrings<T>(clsesAndStrings: (string | T)[]): [T[], string[]]
toBoolean(value: any): boolean
Transforms given value into boolean value.
uniq<T>(array: T[], criteria?: (item: T) => any): T[]
uniq<T, K extends keyof T>(array: T[], property: K): T[]
zipObject(keys: any[], values: any[]): ObjectLiteral
Composes an object from the given array of keys and values.