• Converts a primitive type to its wrapper class.

    Parameters

    • type: string

      The primitive type to convert.

    Returns {
        isPrimitive: boolean;
        wrapper: string;
    }

    An object containing the wrapper class and whether the type is primitive.

    • isPrimitive: boolean
    • wrapper: string