IsYesterday adds the isYesterday
method to EsDay indicating, if a date is tomorrow.
IsYesterday has no dependencies on other plugins.
esday().isYesterday(): boolean
import { esday } from 'esday'
import isYesterdayPlugin from 'esday/plugins/isYesterday'
esday.extend(isYesterdayPlugin)
esday().isYesterday()
// Returns false
esday().subtract(1, 'day').isYesterday()
// Returns true