@slightning/anything-to-string
Version:
Converts anything to a string.
21 lines (20 loc) • 1.06 kB
TypeScript
import { PrepareContext, RequiredConfig, Rule, ToStringContext } from "../config";
declare function isBasicBoolean(data: unknown): data is boolean;
export declare class MinimumBasicBooleanRule implements Rule<boolean> {
test: typeof isBasicBoolean;
toString(this: this, data: boolean, __config: RequiredConfig, __context: ToStringContext): string;
}
export declare class LesserBasicBooleanRule implements Rule<boolean> {
test: typeof isBasicBoolean;
toString(this: this, data: boolean, __config: RequiredConfig, __context: ToStringContext): string;
}
export declare class MajorBasicBooleanRule implements Rule<boolean> {
test: typeof isBasicBoolean;
toString(this: this, data: boolean, __config: RequiredConfig): string;
}
export declare class MaximumBasicBooleanRule implements Rule<boolean> {
test: typeof isBasicBoolean;
prepare(this: this, data: boolean, config: RequiredConfig, context: PrepareContext): void;
toString(this: this, data: boolean, config: RequiredConfig, context: ToStringContext): string;
}
export {};