Is::__callStatic()
Calls the virtual method that has been created.
Table of Contents
Description
Is::__callStatic(string $kin, array $lot = []): mixed;This method returns null if the virtual method being called is not yet defined. This default value is a falsy value, so it can be safely treated as a false value.
Example
test(Is::RGB('rgb(255, 192, 203)')); // Returns `null` because method `RGB()` is not yet definedIs::IP()
Checks for valid IP address.
Is::JSON()
Checks for valid JSON string.
Is::URL()
Checks for valid URL address.
Is::_()
Creates a virtual method.
Is::__callStatic()
Calls the virtual method that has been created.
Is::email()
Checks for valid email address.
Is::file()
Checks if current input is a valid file path.
Is::folder()
Checks if current input is a valid folder path.
Is::path()
Checks if current input is a valid path.
Is::serial()
Checks for valid serialized string.
Is::toggle()
Checks for valid boolean.
Is::void()
Checks for empty string, array and object.