import { useIsClaude } from "moonpeak/claude";
useIsClaude(): booleanTrue when the host reports itself as Claude.
Example
import { useIsClaude } from "moonpeak/claude";
const claude = useIsClaude();Works in
Claude. Safe to call anywhere: elsewhere it returns an empty value.
See all hooks in Runtime APIs.