Skip to main content

isEqualSize

function isEqualSize(
widthA,
heightA,
widthB,
heightB): boolean;

Compare the provided width and height to see if they are the same

Parameters

ParameterTypeDescription
widthAnumberThe width of A
heightAnumberThe height of A
widthBnumberThe width of B
heightBnumberThe height of B

Returns

boolean