@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
17 lines (16 loc) • 492 B
TypeScript
/**
* Unique symbol to mark Frame instances.
*
* We use a symbol because in some cases importing the Frame to do
* instanceof checks introduces circular references.
*
* Having the symbol in it's own file prevents any potential circular
* references and allows checking if an object is a frame
*/
export declare const FRAME_SYMBOL: unique symbol;
/**
* Helper to determine if the passed object is a Frame
*
* @param object
*/
export declare function isFrame(object: any): boolean;