Skip to content

Graphorin API reference v0.1.0


Graphorin API reference / @graphorin/skills / activation / isSlashCommand

Function: isSlashCommand()

ts
function isSlashCommand(raw): boolean;

Defined in: packages/skills/src/activation/index.ts:69

Convenience predicate. Returns true when parseSlashCommand would succeed against the supplied body.

Parameters

ParameterType
rawstring

Returns

boolean

Stable