You can simply print in the console the variable assigned to console and that would print Tensor if the object is tf object.
For Example
import * as tf from "@tensorflow/tfjs"; 
console.log(tf.tensor([1, 2, 3]))
Output: