UNPKG

earljs

Version:

Ergonomic, modern and type-safe assertion library

9 lines (8 loc) 444 B
import { CanonicalType } from '../isEqual'; export declare function getComparedTypeName(value: unknown, sibling: unknown, type: CanonicalType, ignorePrototypes: boolean): { typeName: string | undefined; isDifferentPrototype: boolean; isSameTypeName: boolean; }; export declare function getTypeName(value: unknown, ignorePrototypes: boolean): string | undefined; export declare function getFunctionTypeName(value: Function): string;