chickadee » lolevel » tagged-pointer?

tagged-pointer? X #!optional TAGprocedure

Returns #t if X is a tagged foreign pointer object, or #f otherwise.

Further, returns #t when X has the optional tag TAG (using an equal? comparison), or #f otherwise.