UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

49 lines (48 loc) 2.42 kB
/** Used as the size to enable large array optimizations. */ export declare const LARGE_ARRAY_SIZE = 200; /** Error message constants. */ export declare const CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill."; export declare const FUNC_ERROR_TEXT = "Expected a function"; /** Used to stand-in for `undefined` hash values. */ export declare const HASH_UNDEFINED = "__lodash_hash_undefined__"; /** Used as the maximum memoize cache size. */ export declare const MAX_MEMOIZE_SIZE = 500; /** Used as the internal argument placeholder. */ export declare const PLACEHOLDER = "__lodash_placeholder__"; /** Used to compose bitmasks for cloning. */ export declare const CLONE_DEEP_FLAG = 1; export declare const CLONE_FLAT_FLAG = 2; export declare const CLONE_SYMBOLS_FLAG = 4; /** Used to compose bitmasks for value comparisons. */ export declare const COMPARE_PARTIAL_FLAG = 1; export declare const COMPARE_UNORDERED_FLAG = 2; /** Used to compose bitmasks for function metadata. */ export declare const WRAP_BIND_FLAG = 1; export declare const WRAP_BIND_KEY_FLAG = 2; export declare const WRAP_CURRY_BOUND_FLAG = 4; export declare const WRAP_CURRY_FLAG = 8; export declare const WRAP_CURRY_RIGHT_FLAG = 16; export declare const WRAP_PARTIAL_FLAG = 32; export declare const WRAP_PARTIAL_RIGHT_FLAG = 64; export declare const WRAP_ARY_FLAG = 128; export declare const WRAP_REARG_FLAG = 256; export declare const WRAP_FLIP_FLAG = 512; /** Used as default options for `truncate`. */ export declare const DEFAULT_TRUNC_LENGTH = 30; export declare const DEFAULT_TRUNC_OMISSION = "..."; /** Used to detect hot functions by number of calls within a span of milliseconds. */ export declare const HOT_COUNT = 800; export declare const HOT_SPAN = 16; /** Used to indicate the type of lazy iteratees. */ export declare const LAZY_FILTER_FLAG = 1; export declare const LAZY_MAP_FLAG = 2; export declare const LAZY_WHILE_FLAG = 3; /** Used as references for various `Number` constants. */ export declare const INFINITY: number; export declare const MAX_SAFE_INTEGER = 9007199254740991; export declare const MAX_INTEGER = 1.7976931348623157e+308; export declare const NAN: number; /** Used as references for the maximum length and index of an array. */ export declare const MAX_ARRAY_LENGTH = 4294967295; export declare const MAX_ARRAY_INDEX: number; export declare const HALF_MAX_ARRAY_LENGTH: number;