| clearInterval | Clears repeated function which was set up by calling setInterval(). |
| clearTimeout | Clears the delay set by a call to the setTimeout function. |
| convertString | Converts string value to number or boolean. |
| copyToClipboard | Copy value to device clipboard. |
| dataDeserialize | Data deserialization from Native > JS |
| dataSerialize | Data serialization from JS > Native |
| debounce | Creates a debounced function that delays invoking the provided function until after a specified delay |
| dismissKeyboard | Dismiss any keyboard visible on the screen. |
| dismissSoftInput | Hides the soft input method, usually a soft keyboard. |
| dispatchToMainThread | Dispatches the passed function for execution on the main thread |
| dispatchToUIThread | Dispatches the passed function for execution on the UI thread |
| eliminateDuplicates | Removes duplicate elements from array. |
| escapeRegexSymbols | Escapes special regex symbols (., *, ^, $ and so on) in string in order to create a valid regex from it. |
| executeOnMainThread | Checks if the current thread is the main thread. Directly calls the passed function if it is, or dispatches it to the main thread otherwise. |
| executeOnUIThread | Runs the passed function on the UI Thread. |
| GC | An utility function that invokes garbage collection on the JavaScript side. |
| getBaseClasses | A function that gets the entire class hierarchy of an object. |
| getClass | A function that gets the class name of an object. |
| getClassInfo | A function that gets the ClassInfo for an object. |
| getDurationWithDampingFromSpring | Get a duration with damping value from various spring related settings. Helpful when needing to convert spring settings to isolated duration value. |
| getFileExtension | Get file extension from file path |
| getModuleName | Gets module name from path. |
| getWindow | Get the UIWindow or android.view.Window of the app |
| hasDuplicates | Checks if array has any duplicate elements. |
| isBoolean | A function that checks if something is a valid boolean. |
| isDataURI | Returns true if the specified URI is data URI (http://en.wikipedia.org/wiki/Data_URI_scheme). |
| isDefined | A function that checks if something is defined (not undefined). |
| isEmoji | - |
| isFileOrResourcePath | Returns true if the specified path points to a resource or local file. |
| isFontIconURI | Returns true if the specified URI is a font icon URI like "fontIcon://". |
| isFunction | A function that checks if something is a function. |
| isMainThread | - |
| isNullOrUndefined | A function that checks if something is not defined (null or undefined). |
| isNumber | A function that checks if something is a valid number. |
| isObject | A function that checks if something is an object. |
| isRealDevice | Checks whether the application is running on real device and not on simulator/emulator. |
| isString | A function that checks if something is a valid string. |
| isSystemURI | Returns true if the specified URI is a system URI like "sys://...". |
| isUndefined | A function that checks if something is "undefined". |
| mainThreadify | Returns a function wrapper which executes the supplied function on the main thread. The wrapper behaves like the original function and passes all of its arguments BUT discards its return value. |
| merge | - |
| mergeSort | Sorts an array by using merge sort algorithm (which ensures stable sort since the built-in Array.sort() does not promise a stable sort). |
| numberHasDecimals | Checks if the number has decimals |
| numberIs64Bit | Checks if the number is 64 bit |
| openFile | Opens file. |
| openUrl | Opens url. |
| openUrlAsync | Opens url asynchronously. |
| queueGC | An utility function that queues a garbage collection, multiple calls in quick succession are debounced by default and only one gc will be executed after 900ms. |
| queueMacrotask | Queues the passed function to be ran in a macroTask |
| releaseNativeObject | Releases the reference to the wrapped native object |
| sanitizeModuleName | Helps sanitize a module name if it is prefixed with '~/', '~' or '/' |
| setInterval | Calls a function repeatedly with a delay between each call. |
| setTimeout | Calls a function after a specified delay. |
| supportsGlass | - |
| throttle | Creates a throttled function that only invokes the provided function at most once per specified delay |
| toUIString | Returns a string representation of an object to be shown in UI. |
| verifyCallback | A function that checks if something is a valid function. |