MCPcopy Create free account
hub / github.com/arctic-cli/interface / isTriggerTitle

Function isTriggerTitle

packages/ui/src/components/basic-tool.tsx:15–19  ·  view source on GitHub ↗
(val: any)

Source from the content-addressed store, hash-verified

13}
14
15const isTriggerTitle = (val: any): val is TriggerTitle => {
16 return (
17 typeof val === "object" && val !== null && "title" in val && (typeof Node === "undefined" || !(val instanceof Node))
18 )
19}
20
21export interface BasicToolProps {
22 icon: IconProps["name"]

Callers 1

BasicToolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected