acs::icanuse (public)

 acs::icanuse feature

Defined in packages/acs-tcl/tcl/00-icanuse-procs.tcl

Check, if a (previously registered) feature can be used in an installation. These features are typically version dependent features of NaviServer. The checking of the availability of these features is typically more complex than a plain "info commands ...".

Parameters:
feature (required)
name for a feature, can contain blanks
Returns:
boolean value

Testcases:
acs_icanuse
Source code:
        return [info exists ::acs::caniuse($feature)]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: