<?php
use Bizarg\TypeHelper\TypeHelper;
require 'vendor/autoload.php';
$value = 'false';
TypeHelper::float($value); // return float or null
TypeHelper::carbon($value, 'Y-m-d'); // return Carbon or null
TypeHelper::bool($value); //return bool or null
TypeHelper::int($value); //return int or null
-
Notifications
You must be signed in to change notification settings - Fork 0
bizarg/type-helper
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|