Function: isReservedWord()¶
isReservedWord(
word): word is "string" | "number" | "boolean" | "identity" | "context" | "standards" | "restrictions" | "knowledge" | "shortcuts" | "guards" | "params" | "skills" | "local" | "range" | "enum" | "list" | "agents" | "workflows" | "prompts" | "meta" | "inherit" | "use" | "extend" | "as" | "true" | "false" | "null"
Defined in: core/src/types/constants.ts:78
Check if a string is a reserved word.
Parameters¶
word¶
string
String to check
Returns¶
word is "string" | "number" | "boolean" | "identity" | "context" | "standards" | "restrictions" | "knowledge" | "shortcuts" | "guards" | "params" | "skills" | "local" | "range" | "enum" | "list" | "agents" | "workflows" | "prompts" | "meta" | "inherit" | "use" | "extend" | "as" | "true" | "false" | "null"
True if the word is reserved