Table of Contents

Method IsDefined

Namespace
DocWright.Dom
Assembly
DocWright.Dom.dll

IsDefined(string?)

Whether a token names a preset geometry.

public static bool IsDefined(string? preset)

Parameters

preset string

The token, for example "rect" or "ellipse".

Returns

bool

True when it is one of Names (compared ordinally: the format is case-sensitive).