Static methods
staticinlineexists<T>(o:Dynamic<T>, name:String):Bool
exists
returns true if o
contains a field named name
.
staticinlinefields<T>(o:Dynamic<T>):Array<String>
fields
returns an array of string containing the field names of the argument object.
staticmerge<T>(to:Dynamic<T>, from:Dynamic<T>, ?replacef:(String, Dynamic, Dynamic) ‑> Dynamic):Dynamic<T>
Copies the values from the fields of from
to to
. If to
already contains those fields, then it replace
those values with the return value of the function replacef
.
If not set, replacef
always returns the value from the from
object.