Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "util"

Index

Functions

baseCompare

  • baseCompare(a: any, b: any): number
  • Parameters

    • a: any
    • b: any

    Returns number

binaryIndexOf

  • binaryIndexOf(arr: any[], el: any, compare?: baseCompare): number
  • Parameters

    • arr: any[]
    • el: any
    • Default value compare: baseCompare = baseCompare

    Returns number

flattenPromises

  • flattenPromises<T>(promises: Promise<T[]>[]): Promise<T[]>
  • Type parameters

    • T

    Parameters

    • promises: Promise<T[]>[]

    Returns Promise<T[]>

getClassOf

  • getClassOf(node: any): Node

noop

  • noop(): void

permissionCompare

permissionIndexOf

  • permissionIndexOf(arr: Permission[], subjectId: string): number

topologicalSort

  • topologicalSort(nodes: Hash<any>[], nameKey?: string, parentKey?: string): Hash<any>[]

yes

  • yes(): boolean

Generated using TypeDoc