isUsable

Returns whether frame has finite edges and a positive width and height that fit in a Float.

The answer is the same on every target, including JS, where Float arithmetic keeps double precision and so Frame.width can exceed Float.MAX_VALUE without becoming infinite.

Return

true when the frame can take part in layout checks.

Parameters

frame

The frame to validate.