API Reference > frontend-devTools > Tools > MapLayerVisibilityTool > parseAndRun parseAndRun Method Executes this tool's run method with args[0] containing enable and args[1] containing layerIndex. parseAndRun(...args: string[]): boolean see MapLayerVisibilityTool.run Parameter Type Description ...args string[] Returns - boolean Defined in frontend-devtools/src/tools/MapLayerTool.ts Line 232 Last Updated: 12 June, 2024