Table of Contents

Method IsCommand

Namespace
OpenCAD2D.Lisp
Assembly
OpenCAD2D.Core.dll

IsCommand(string)

Tells whether C:NAME is a command: bound by defun or defun-q, which a setq of a lambda to c:name is not.

public bool IsCommand(string name)

Parameters

name string

The name without C:, in either case.

Returns

bool

True when typing the name at the command line runs a function.

Exceptions

ArgumentNullException

Thrown when the name is null.