Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Object/Has"

Index

Type aliases

Type aliases

Has

Has<O, K, M, match>: Is<At<O, K>, M, match>

Check whether O has a field of key K that matches M

Type parameters

  • O: object

    to be inspected

  • K: Index

    to choose field

  • M: any

    to check field type (?=any)

  • match: Match

    to change precision (?='default')

returns

Boolean

example

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.