Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IResponsesMutable<T>

A mutable interface of response data

Type parameters

  • T

Hierarchy

Implemented by

Index

Properties

Methods

Properties

hint

hint: T | undefined

size

size: number

The number of responses that are possible

Methods

__@iterator

  • __@iterator(): Iterator<InputType>
  • Returns Iterator<InputType>

accepts

  • accepts(value: InputType): boolean
  • Determines if a certain input type is allowed

    Parameters

    • value: InputType

      the input type to check

    Returns boolean

    true if the input type is allowed

has

  • has(value: InputType): boolean