UNPKG

solr-client

Version:

A Solr client library for indexing, adding, deleting, committing, optimizing and searching documents within an Apache Solr installation (version>=3.2)

8 lines (7 loc) 339 B
/** * * @param value - The value to check against * @param strict - Pass true if you want to make sure the number is fully and only composed of digits, false to just check if we can extract a number via parseInt(). Default to true. * @returns boolean */ export declare function isNumber(value: any, strict?: boolean): boolean;