Skip to main content

Home > @jsplumbtoolkit/core > JsPlumbToolkit > exists

JsPlumbToolkit.exists() method#

Returns whether or not object(s) exist for the given id(s).

Signature:

exists(...objects: Array<any>): boolean;

Parameters#

ParameterTypeDescription
objectsArray<any>List of ids to check existence for. This method takes an arbitrary number of arguments.

Returns:

boolean

True if objects exist for all given ids, false otherwise.