hasDoc

Checks if the document is valid.

static
bool
hasDoc

Parameters

document Doc

The instance of Doc to check

Return Value

Type: bool

If the specified document handle is valid, it returns true. Otherwise, it returns false and error-handler is called.

Meta