UNPKG

predictype

Version:

PredicType is a library of pre-built and tested predicates for TypeScript, covering various data types and operations.

183 lines (182 loc) 6.85 kB
import * as arrays from './predicates/arrays/index.js'; import * as bigints from './predicates/bigints/index.js'; import * as booleans from './predicates/booleans/index.js'; import * as dates from './predicates/dates/index.js'; import * as functions from './predicates/functions/index.js'; import * as maps from './predicates/maps/index.js'; import * as numbers from './predicates/numbers/index.js'; import * as objects from './predicates/objects/index.js'; import * as promises from './predicates/promises/index.js'; import * as sets from './predicates/sets/index.js'; import * as strings from './predicates/strings/index.js'; import * as symbols from './predicates/symbols/index.js'; export declare const PredicType: { array: { comparison: typeof arrays.arrayComparison; indexComparison: typeof arrays.arrayIndexComparison; indexMembership: typeof arrays.arrayIndexMembership; intersection: typeof arrays.arrayIntersection; membership: typeof arrays.arrayMembership; relation: typeof arrays.arrayRelation; sequence: typeof arrays.arraySequence; size: typeof arrays.arraySize; state: typeof arrays.arrayState; }; bigint: { comparison: typeof bigints.bigintComparison; membership: typeof bigints.bigintMembership; range: typeof bigints.bigintRange; state: typeof bigints.bigintState; }; boolean: { comparison: typeof booleans.booleanComparison; state: typeof booleans.booleanState; }; date: { calendar: typeof dates.dateCalendar; comparison: typeof dates.dateComparison; range: typeof dates.dateRange; state: typeof dates.dateState; }; function: { arity: typeof functions.functionArity; name: typeof functions.functionName; namePattern: typeof functions.functionNamePattern; state: typeof functions.functionState; }; map: { entry: typeof maps.mapEntry; key: typeof maps.mapKey; size: typeof maps.mapSize; state: typeof maps.mapState; value: typeof maps.mapValue; }; number: { comparison: typeof numbers.numberComparison; range: typeof numbers.numberRange; state: typeof numbers.numberState; }; object: { attributes: typeof objects.objectAttributes; instanceType: typeof objects.objectInstanceType; instanceRelation: typeof objects.objectInstanceRelation; key: typeof objects.objectKey; keyMembership: typeof objects.objectKeyMembership; keys: typeof objects.objectKeysCompare; keysState: typeof objects.objectKeysState; property: typeof objects.objectProperty; prototypeRelation: typeof objects.objectPrototypeRelation; prototypeState: typeof objects.objectPrototypeState; state: typeof objects.objectState; }; promise: { state: typeof promises.promiseState; type: typeof promises.promiseType; }; set: { arrayMembership: typeof sets.setArrayMembership; comparison: typeof sets.setComparison; intersection: typeof sets.setIntersection; membership: typeof sets.setMembership; relation: typeof sets.setRelation; size: typeof sets.setSize; state: typeof sets.setState; }; string: { comparison: typeof strings.stringComparison; membership: typeof strings.stringMembership; pattern: typeof strings.stringPattern; size: typeof strings.stringSize; state: typeof strings.stringState; substring: typeof strings.stringSubstring; }; symbol: { comparison: typeof symbols.symbolComparison; state: typeof symbols.symbolState; }; }; export declare const P: { arr: { comparison: typeof arrays.arrayComparison; indexComparison: typeof arrays.arrayIndexComparison; indexMembership: typeof arrays.arrayIndexMembership; intersection: typeof arrays.arrayIntersection; membership: typeof arrays.arrayMembership; relation: typeof arrays.arrayRelation; sequence: typeof arrays.arraySequence; size: typeof arrays.arraySize; state: typeof arrays.arrayState; }; big: { comparison: typeof bigints.bigintComparison; membership: typeof bigints.bigintMembership; range: typeof bigints.bigintRange; state: typeof bigints.bigintState; }; bool: { comparison: typeof booleans.booleanComparison; state: typeof booleans.booleanState; }; date: { calendar: typeof dates.dateCalendar; comparison: typeof dates.dateComparison; range: typeof dates.dateRange; state: typeof dates.dateState; }; func: { arity: typeof functions.functionArity; name: typeof functions.functionName; namePattern: typeof functions.functionNamePattern; state: typeof functions.functionState; }; map: { entry: typeof maps.mapEntry; key: typeof maps.mapKey; size: typeof maps.mapSize; state: typeof maps.mapState; value: typeof maps.mapValue; }; num: { comparison: typeof numbers.numberComparison; range: typeof numbers.numberRange; state: typeof numbers.numberState; }; obj: { attributes: typeof objects.objectAttributes; instanceType: typeof objects.objectInstanceType; instanceRelation: typeof objects.objectInstanceRelation; key: typeof objects.objectKey; keyMembership: typeof objects.objectKeyMembership; keys: typeof objects.objectKeysCompare; keysState: typeof objects.objectKeysState; property: typeof objects.objectProperty; prototypeRelation: typeof objects.objectPrototypeRelation; prototypeState: typeof objects.objectPrototypeState; state: typeof objects.objectState; }; prom: { state: typeof promises.promiseState; type: typeof promises.promiseType; }; set: { arrayMembership: typeof sets.setArrayMembership; comparison: typeof sets.setComparison; intersection: typeof sets.setIntersection; membership: typeof sets.setMembership; relation: typeof sets.setRelation; size: typeof sets.setSize; state: typeof sets.setState; }; str: { comparison: typeof strings.stringComparison; membership: typeof strings.stringMembership; pattern: typeof strings.stringPattern; size: typeof strings.stringSize; state: typeof strings.stringState; substring: typeof strings.stringSubstring; }; sym: { comparison: typeof symbols.symbolComparison; state: typeof symbols.symbolState; }; };