UNPKG

@synapsecns/widget

Version:
8 lines (7 loc) 316 B
/** * This regex matches a string that either: * 1. consists only of one or more '0' characters * 2. consists of a single '0' followed by a '.' and zero or more '0' characters * 3. consists solely of a '.' followed by one or more '0' characters */ export declare const isOnlyZeroes: (input: string) => boolean;