- Publicity: Public Only All
00-icanuse-procs.tcl
An API for checking optional features (name inspired by caniuse.com)
- Location:
- packages/acs-tcl/tcl/00-icanuse-procs.tcl
- Created:
- 4th June 2019
- Author:
- Gustaf Neumann
Procedures in this file
- acs::icanuse (public)
- acs::register_icanuse (public)
Detailed information
acs::icanuse (public)
acs::icanuse feature
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
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_icanuse
acs::register_icanuse (public)
acs::register_icanuse feature condition
Registry function for acs::caniuse.
- Parameters:
- feature (required)
- name for a feature, can contain blanks
- condition (required)
- expression to determine availability
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- acs_icanuse