TypeTrait
Provides functionality to check values for specific types.
Table of Contents
- checkType() : bool
- Returns `true` if value is of the specified type.
Methods
checkType()
Returns `true` if value is of the specified type.
protected
checkType(string $type, mixed $value) : bool
Parameters
- $type : string
-
The type to check the value against.
- $value : mixed
-
The value to check.