NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view on GitHub
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"utils/utils"
External module "utils/utils"
Globals
"utils/utils"
ad
ios
layout
Owned
FILE_
PREFIX
RESOURCE_
PREFIX
GC
convert
String
eliminate
Duplicates
escape
Regex
Symbols
execute
OnMain
Thread
get
Module
Name
has
Duplicates
is
DataURI
is
File
OrResource
Path
is
Font
IconURI
is
Real
Device
main
Threadify
merge
Sort
open
File
open
Url
release
Native
Object
Index
Modules
ad
ios
layout
Interfaces
Owned
Variables
FILE_
PREFIX
RESOURCE_
PREFIX
Functions
GC
convert
String
eliminate
Duplicates
escape
Regex
Symbols
execute
OnMain
Thread
get
Module
Name
has
Duplicates
is
DataURI
is
File
OrResource
Path
is
Font
IconURI
is
Real
Device
main
Threadify
merge
Sort
open
File
open
Url
release
Native
Object
Variables
Const
FILE_
PREFIX
FILE_
PREFIX
:
string
Const
RESOURCE_
PREFIX
RESOURCE_
PREFIX
:
string
Functions
GC
GC
(
)
:
any
Returns
any
convert
String
convert
String
(
value
:
any
)
:
any
Parameters
value:
any
Returns
any
eliminate
Duplicates
eliminate
Duplicates
(
arr
:
Array
<
any
>
)
:
Array
<
any
>
Parameters
arr:
Array
<
any
>
Returns
Array
<
any
>
escape
Regex
Symbols
escape
Regex
Symbols
(
source
:
string
)
:
string
Parameters
source:
string
Returns
string
execute
OnMain
Thread
execute
OnMain
Thread
(
func
:
Function
)
:
any
Parameters
func:
Function
Returns
any
get
Module
Name
get
Module
Name
(
path
:
string
)
:
string
Parameters
path:
string
Returns
string
has
Duplicates
has
Duplicates
(
arr
:
Array
<
any
>
)
:
boolean
Parameters
arr:
Array
<
any
>
Returns
boolean
is
DataURI
is
DataURI
(
uri
:
string
)
:
boolean
Parameters
uri:
string
Returns
boolean
is
File
OrResource
Path
is
File
OrResource
Path
(
path
:
string
)
:
boolean
Parameters
path:
string
Returns
boolean
is
Font
IconURI
is
Font
IconURI
(
uri
:
string
)
:
boolean
Parameters
uri:
string
Returns
boolean
is
Real
Device
is
Real
Device
(
)
:
boolean
Returns
boolean
main
Threadify
main
Threadify
(
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
merge
Sort
merge
Sort
(
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
>
open
File
open
File
(
filePath
:
string
)
:
boolean
Parameters
filePath:
string
Returns
boolean
open
Url
open
Url
(
url
:
string
)
:
boolean
Parameters
url:
string
Returns
boolean
release
Native
Object
release
Native
Object
(
object
:
any
)
:
any
Parameters
object:
any
Returns
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