Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/utils"

Index

Variables

Const FILE_PREFIX

FILE_PREFIX: string

Const RESOURCE_PREFIX

RESOURCE_PREFIX: string

Functions

GC

  • GC(): any

convertString

  • convertString(value: any): any

eliminateDuplicates

  • eliminateDuplicates(arr: Array<any>): Array<any>

escapeRegexSymbols

  • escapeRegexSymbols(source: string): string

executeOnMainThread

  • executeOnMainThread(func: Function): any

getModuleName

  • getModuleName(path: string): string

hasDuplicates

  • hasDuplicates(arr: Array<any>): boolean

isDataURI

  • isDataURI(uri: string): boolean

isFileOrResourcePath

  • isFileOrResourcePath(path: string): boolean

isFontIconURI

  • isFontIconURI(uri: string): boolean

isRealDevice

  • isRealDevice(): boolean

mainThreadify

  • mainThreadify(func: Function): function
  • Parameters

    • func: Function

    Returns function

    The wrapper function which schedules execution to the main thread

      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

mergeSort

  • mergeSort(arr: Array<any>, compareFunc: function): Array<any>
  • Parameters

    • arr: Array<any>
    • compareFunc: function
        • (a: any, b: any): number
        • Parameters

          • a: any
          • b: any

          Returns number

    Returns Array<any>

openFile

  • openFile(filePath: string): boolean

openUrl

  • openUrl(url: string): boolean

releaseNativeObject

  • releaseNativeObject(object: any): any

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method