Applies an operation over each field of a rectangle.
// Convert x,y,width,height to integer valuesapplyFields(v => Number.floor(v), someRect); Copy
// Convert x,y,width,height to integer valuesapplyFields(v => Number.floor(v), someRect);
Applies an operation over each field of a rectangle.
Param: op
Param: rectOrWidth
Param: heightValue
Returns