UNPKG

@toreda/time

Version:

Simple, small footprint library for common time operations and converting between units of time.

11 lines (10 loc) 290 B
import type { Time } from '../time'; /** * Determine if target object is a valid Time object. Inspects object for * all required properties and methods to determine validity. * @param o * @returns * * @category Validators */ export declare function timeValid(o: unknown): o is Time;