EvilFreelancer/routeros-api-php

View on GitHub
src/Helpers/TypeHelper.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace RouterOS\Helpers;

/**
 * Class TypeHelper
 *
 * @package RouterOS\Helpers
 * @since   0.7
 */
class TypeHelper
{
    /**
     * Compare data types of some value
     *
     * @param   mixed  $whatType What type has value
     * @param   mixed  $isType   What type should be
     * @return  bool
     */
    public static function checkIfTypeMismatch($whatType, $isType): bool
    {
        return ($whatType !== $isType);
    }
}