Skip to content

unix/validate

  • The core functions, which every industry uses.
  • isValidUnixMilliseconds: Return true when timestamp is a Unix milliseconds value every unix/ function accepts.
  • isValidUnixRange: Return true if value1 and value2 form a valid Unix range — both safe-integer epochs and value1 < value2 (or <= with allowEqual).
  • isValidUnixSeconds: Return true when timestamp is a Unix seconds value every unix/ function accepts.
  • isValidUnixUnit: Return true when unit is a valid UnixUnit.

Last updated:

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.