Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "@tpoisseau/pattern-matching/comparators"

Index

Type aliases

Predicate

Predicate<PV>: function

Type parameters

  • PV

Type declaration

    • (value: PV): boolean
    • Parameters

      • value: PV

      Returns boolean

Functions

haveKeys

  • haveKeys<PV>(...keys: string[]): Predicate<PV>

objectDeepShallowLike

  • objectDeepShallowLike<CV, PV>(value: CV): Predicate<PV>

objectDeepStrictLike

  • objectDeepStrictLike<CV, PV>(value: CV): Predicate<PV>

objectShallowLike

  • objectShallowLike<CV, PV>(value: CV): Predicate<PV>

objectStrictLike

  • objectStrictLike<CV, PV>(value: CV): Predicate<PV>

shallowEqual

  • shallowEqual<CV, PV>(value: CV): Predicate<PV>

strictEqual

  • strictEqual<CV, PV>(value: CV): Predicate<PV>

Generated using TypeDoc