Function: time-equal-p
time-equal-p is a function defined in timefns.c.
Signature
(time-equal-p A B)
Documentation
Return non-nil if A and B are equal time values.
See format-time-string for the various forms of a time value.
Probably introduced at or before Emacs version 27.1.
Source Code
// Defined in /usr/src/emacs/src/timefns.c
{
/* A nil arg compares unequal to a non-nil arg. This also saves the
expense of current_timespec if either arg is nil. */
return NILP (a) == NILP (b) && time_cmp (a, b) == 0 ? Qt : Qnil;
}