isNullSketchCollection()
function isNullSketchCollection(collection): collection is NullSketchCollection;
Check if object is a NullSketchCollection. Any code inside a block guarded by a conditional call to this function will have type narrowed to NullSketchCollection
Parameters
Parameter | Type |
---|---|
collection | any |
Returns
collection is NullSketchCollection