MCPcopy Create free account
hub / github.com/Shitanshukumar607/Drawspace / isPropertyTool

Function isPropertyTool

components/ToolSettingsSidebar.tsx:39–43  ·  view source on GitHub ↗
(tool: string)

Source from the content-addressed store, hash-verified

37});
38
39function isPropertyTool(tool: string): tool is ToolKey {
40 return ["pen", "eraser", "rectangle", "ellipse", "line", "arrow"].includes(
41 tool
42 );
43}
44
45const ToolSettingsSidebar = () => {
46 const selectedTool = useStateStore((state) => state.selectedTool);

Callers 1

ToolSettingsSidebarFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected