src/Leevel/Stack/LinkedList.php
protected function checkType($value): bool
    {
        if (!$this->type) {
            return true;
        }

        return type_these($value, $this->type);
    }
protected function checkType($value): bool
    {
        if (!$this->type) {
            return true;
        }

        return type_these($value, $this->type);
    }
验证类型是否正确.

@param mixed $value

@return bool