noflo
Version:
Flow-Based Programming environment for JavaScript
38 lines (37 loc) • 822 B
TypeScript
export default class IP {
/**
* @param {any} obj
* @returns {boolean}
*/
static isIP(obj: any): boolean;
/**
* @param {string} type
* @param {any} data
* @param {Object<string, boolean|string>} [options]
*/
constructor(type: string, data?: any, options?: {
[x: string]: boolean | string;
});
type: string;
data: any;
isIP: boolean;
/** @type {string|null} */
scope: string | null;
/** @type {string|null} */
owner: string | null;
clonable: boolean;
/** @type {number|null} */
index: number | null;
schema: any;
datatype: string;
initial: boolean;
/**
* @returns {IP}
*/
clone(): IP;
/**
* @param {string|null} owner
*/
move(owner: string | null): IP;
drop(): void;
}