UNPKG

@altostra/core

Version:

Core library for shared types and logic

9 lines (8 loc) 315 B
export interface TrimOptions { skipStart: boolean; skipEnd: boolean; trimPredicate: (char: string) => boolean; } export declare function trim(str: string, options?: Partial<TrimOptions>): string; export declare const falseValues: Set<string>; export declare function parseBoolean(str: string): boolean;