Module utils

Index

Modules

Functions

Functions

compileGetter(): Getter

Returns

Getter

compileGetter(expr: Array<any>): Getter

Parameters

  • expr: Array<any>

Returns

Getter

compileGetter(expr: string): Getter

Parameters

  • expr: string

Returns

Getter

compileGetter(expr: ""this""): Getter

Parameters

  • expr: ""this""

Returns

Getter

compileGetter(expr: Getter): Getter

Parameters

Returns

Getter

compileSetter(expr: string): Setter

Parameters

  • expr: string

Returns

Setter

keysEqual(key1: any, key2: any): boolean

Parameters

  • key1: any
  • key2: any

Returns

boolean

keysEqual(keyExpr: any, key1: any, key2: any): boolean

Parameters

  • keyExpr: any
  • key1: any
  • key2: any

Returns

boolean

normalizeBinaryCriterion(criteria: Array<any>): Array<any>

Parameters

  • criteria: Array<any>

Returns

Array<any>

normalizeSortingInfo(info: string): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: string

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Array<string>): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: Array<string>

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Getter): Array<{ selector: string; desc?: boolean; }>

Parameters

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Getter[]): Array<{ selector: string; desc?: boolean; }>

Parameters

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: { field: string; dir?: string; }): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: { field: string; dir?: string; }

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Array<{ field: string; dir?: string; }>): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: Array<{ field: string; dir?: string; }>

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: { field: string; desc?: boolean; }): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: { field: string; desc?: boolean; }

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Array<{ field: string; desc?: boolean; }>): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: Array<{ field: string; desc?: boolean; }>

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: { selector: string; dir?: string; }): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: { selector: string; dir?: string; }

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Array<{ selector: string; dir?: string; }>): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: Array<{ selector: string; dir?: string; }>

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: { selector: string; desc?: boolean; }): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: { selector: string; desc?: boolean; }

Returns

Array<{ selector: string; desc?: boolean; }>

normalizeSortingInfo(info: Array<{ selector: string; desc?: boolean; }>): Array<{ selector: string; desc?: boolean; }>

Parameters

  • info: Array<{ selector: string; desc?: boolean; }>

Returns

Array<{ selector: string; desc?: boolean; }>

toComparable(value: Date, caseSensitive?: boolean): number

Parameters

  • value: Date
  • caseSensitive?: boolean optional

Returns

number

toComparable(value: Guid, caseSensitive?: boolean): string

Parameters

  • value: Guid
  • caseSensitive?: boolean optional

Returns

string

toComparable(value: string, caseSensitive?: boolean): string

Parameters

  • value: string
  • caseSensitive?: boolean optional

Returns

string