Module

useTimeCheck

Custom hook for checking whether a provided time occurs before or after 'now'.

This hook is purely to support consistency in DisplayWhen's use of hooks.

It does not do exhaustive validation of data etc... and only operates within the tightly defined boundaries outlined in the DisplayWhen documentation.

This hook should NOT be used directly by developers unless you REALLY REALLY have to and you know what you're doing.

Deprecated:
  • Yes

View Source tools/hooks/useTimeCheck.ts, line 5