IsRequest (open)

Are we in a dynamic page?

Syntax

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

BOOLEAN FUNCTION IsRequest()

Return value

BOOLEAN

True if we're running in a webserver context

Description

Tests if the current HareScript job is handling a dynamic page request and calls like GetWebVariable are safe to make