0.0.9 • Published 2 years ago
@types/generic-functions v0.0.9
Installation
npm install --save @types/generic-functions
Summary
This package contains type definitions for generic-functions (https://github.com/stpettersens/genericFunctions-for-node#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/generic-functions.
index.d.ts
// Type definitions for generic-functions
// Project: https://github.com/stpettersens/genericFunctions-for-node#readme
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare module "generic-functions" {
function strcmp(str1: string, str2: string): boolean;
function icstrcmp(str1: string, str2: string): boolean;
function strendswith(str: string, suffix: string): boolean;
function icstrendswith(str: string, suffix: string): boolean;
function endswithdot(str: string): string;
function println(message: string): void;
function printlns(message: string[]): void;
function objGetKeyByValue(object: Object, value: any): string;
}
Additional Details
- Last updated: Fri, 09 Jul 2021 02:32:27 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Sam Saint-Pettersen.