UNPKG

offensive

Version:

Fast and boilerplate-free precondition checks for javascript.

16 lines (15 loc) 501 B
import { Assertion, ContractFunction, StandardMessage } from '../../model'; import '../aString'; import '../length'; import '../../connectors'; import '../../operators/and'; /** * @author Maciej Chałapuk (maciej@chalapuk.pl) */ export declare class EmptyStringAssertion<T> implements Assertion<T> { assert(varName: string, testedValue: T, contract: ContractFunction): { readonly success: boolean; readonly message: StandardMessage; }; } export default EmptyStringAssertion;