Filter for nulls on a timestamp property is null

How do I check if a timestamp property is null in an Object Set filter?

e.g. I want to do something like:

let x = Objects.search().XYZ().filter(r => r.time=== undefined)

Have you tried using the “hasProperty()” method that’s mentioned in the docs?

All property types support the .exactMatch() filter, which filters to objects with an exact match on that property value. This is useful to filter for exact matches on strings (as in the example above), or to filter on the primary key of an object (for example,.filter(object => object.primaryKey.exactMatch(PrimaryKey)) ).

To check whether a property is null or undefined, use the hasProperty() method.

API Object Sets Docs