- NewAtomic($class, type, fieldName, initValue, isStatic?): {
field: Field;
get: string;
name: string;
reference: string;
set: ((value: string) => string);
} 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);
}
get: string
name: string
reference: string
set: ((value: string) => string)
- (value): string
Returns string
Create an atomic field in the given class. This aspect provides outputs such as get and set of the field