這表示變數是否為 Day.js 物件。 dayjs.isDayjs(dayjs()) // true dayjs.isDayjs(new Date()) // false 運算子 instanceof 也能正常運作 dayjs() instanceof dayjs // true