Mecha CMS

Deep learning on using the API.

Class Is

Author: Taufik Nurrohman · 90 Views

Tweet

Detector.

This 

Contain 

Is::this([1, 2, 3, 4])->contain(4);

Equal To 

Is::this($x)->eq(4);

Less Than 

Is::this($x)->lt(4);

Greater Than 

Is::this($x)->gt(4);

Less Than or Equal To 

Is::this($x)->le(4);

Greater Than or Equal To 

Is::this($x)->ge(4);

Void 

Is::void($x);

IP 

Is::ip($x);

URL 

Is::url($x);

Path 

Is::path($x);

Email 

Is::email($x);

Toggle 

Is::toggle($x);

File 

Is::F($x);

Directory 

Is::D($x);