isGeoBoundingBox()
function isGeoBoundingBox(input): input is GeoBoundingBox
Type-predicate to determine if the given input is a GeoBoundingBox instance.
Note that this function only checks if the input is an instance of the GeoBoundingBox class.
instanceof
checks are not reliable in JavaScript, so this function should be used with
caution.
Parameters
Parameter | Type |
---|---|
input | unknown |
Returns
input is GeoBoundingBox