• Create an atomic field in the given class. This aspect provides outputs such as get and set of the field

    Parameters

    • $class: Class
    • type: string
    • fieldName: string
    • initValue: string
    • isStatic: boolean = true

    Returns {
        field: Field;
        get: string;
        name: string;
        reference: string;
        set: ((value: string) => string);
    }

    • field: Field
    • get: string
    • name: string
    • reference: string
    • set: ((value: string) => string)
        • (value): string
        • Parameters

          • value: string

          Returns string