Youshido\GraphQL\Type\TypeService::isLeafType PHP Method

isLeafType() public static method

public static isLeafType ( $type )
    public static function isLeafType($type)
    {
        return $type instanceof AbstractEnumType || TypeService::isScalarType($type);
    }