Skip to main content

Home > @jsplumb/util > map

map() function#

Maps some ArrayLike object. This is of course a copy of a method that typescript offers. It will likely fall out of use in the jsPlumb codebase.

Signature:

export declare function map(obj: any, fn: Function): any[];

Parameters#

ParameterTypeDescription
objany
fnFunction

Returns:

any[]