ESday project icon

Plugins - IsTomorrow

IsTomorrow

IsTomorrow adds the isTomorrow method to EsDay indicating, if a date is tomorrow.

Usage

Dependencies

IsTomorrow has no dependencies on other plugins.

Method signatures

esday().isTomorrow(): boolean

Examples

import { esday } from 'esday'
import isTomorrowPlugin from 'esday/plugins/isTomorrow'

esday.extend(isTomorrowPlugin)

esday().isTomorrow()
// Returns false

esday().add(1, 'day').isTomorrow()
// Returns true