IsProductionOrAsIf (open)

Is true if we're either on production, or acting as-if

Syntax

LOADLIB "mod::system/lib/configure.whlib";

BOOLEAN FUNCTION IsProductionOrAsIf()

Return value

BOOLEAN

True if we should function as on production

Description

Like GetDTAPStage() == "production" but can be explicitly enabled by using wh debug setconfig asprod. This may be used to test production-only workflows or dialogs