Library/Variable.php
public function hasDifferentDynamicType($types)
    {
        $number = 0;
        foreach ($types as $type) {
            if (isset($this->dynamicTypes[$type])) {
                ++$number;
            }
        }

        return 0 == $number;
    }
public function hasDifferentDynamicType($types)
    {
        $number = 0;
        foreach ($types as $type) {
            if (isset($this->dynamicTypes[$type])) {
                ++$number;
            }
        }

        return 0 == $number;
    }
public function hasDifferentDynamicType ( $ types ) { $ number = 0 ; foreach ( $ types as $ type ) { if ( isset ( $ this -> dynamicTypes [ $ type ] ) ) { ++ $ number ; } } return 0 == $ number ; }
Check if the variable has at least one dynamic type to the ones passed in the list.

@param array|string $types

@return bool
Check if the variable has at least one dynamic type to the ones passed in the list .