timezonecomplete
Version:
DateTime, TimeZone, Duration and Period library aimed at providing a consistent and complete date-time interface, away from the original JavaScript Date class.
13 lines (12 loc) • 356 B
TypeScript
/**
* Copyright(c) 2016 ABB Switzerland Ltd.
*/
/**
* Throws an Assertion error if the given condition is falsy
* @param condition
* @param name error name
* @param message complete message
* @throws [name] if `condition` is falsy
*/
declare function assert(condition: any, name: string, message: string): asserts condition;
export default assert;