ModifiersUtils API

Set of functions used internally to work with modifiers.

import { ModifiersUtils } from "react-day-picker";

Functions

dayMatchesModifier (day: Date, modifier: Any) ⇒ boolean

Return true if day date matches modifier.

getModifiersForDay (day: Date, modifiers: Object) ⇒ Array

Return the modifiers matching day for the given modifiers.