typescript-dotnet-core
Version:
A the core classes and utilities of a JavaScript-Friendly .NET Based TypeScript Library.
10 lines (9 loc) • 606 B
TypeScript
/*!
* @author electricessence / https://github.com/electricessence/
* Licensing: MIT https://github.com/electricessence/TypeScript.NET-Core/blob/master/LICENSE.md
*/
import ISerializable from "./ISerializable";
import Primitive from "../Primitive";
export declare function toString(value: Primitive | ISerializable | undefined | null, defaultForUnknown?: string): string;
export declare function isSerializable(instance: any): instance is ISerializable;
export declare function toPrimitive(value: string, caseInsensitive?: boolean, unknownHandler?: (v: string) => string): Primitive | null | undefined;