instanceOfMapForm
geovisto-map / instanceOfMapForm
Function: instanceOfMapForm()
instanceOfMapForm\<
T
>(tool
):tool is IMapFormControl
Help function which tests whether the tool implements getMapForm function of the IMapFormControl interface.
Type parameters
• T extends IMapObject
\<IMapObjectProps
, IMapObjectDefaults
\<IMapObjectProps
, IMapObjectConfig
>, IMapObjectState
\<IMapObjectProps
, IMapObjectDefaults
\<IMapObjectProps
, IMapObjectConfig
>, IMapObjectConfig
, IMapObjectInitProps
\<IMapObjectConfig
>>, IMapObjectConfig
, IMapObjectInitProps
\<IMapObjectConfig
>>
Parameters
• tool: IMapFormControl
| T
Returns
tool is IMapFormControl