Skip to content

UnixUnit

  • The core functions, which every industry uses.

Unit accepted by epochUnit in unix-epoch functions. Determines whether a numeric value is interpreted as milliseconds or seconds.

import type { UnixUnit } from "@northguild/gmt";
type UnixUnit = "seconds" | "milliseconds" | "second" | "millisecond";

unix/validate/isValidUnixUnit.ts

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.