Mecha CMS

Detector.

Is::toggle()

Check for valid boolean value.

2.0.02.2.0static
Is::toggle($x);

Example:

if (Is::toggle(true)) { … }