Options
All
  • Public
  • Public/Protected
  • All
Menu

tweets.ts

Index

Functions

Const objectValidation

  • objectValidation(object: any, keys: any): boolean
  • Validates a unknown value is a object and checks types of the keys if keys is specified and the relevant key exists on the object

    Parameters

    • object: any

      object to validate

    • keys: any

      keys to validate in the object, key:typeof pair should be in the object

    Returns boolean

Generated using TypeDoc