Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IResponsesImmutable<T>

A readonly variant of the interface

Type parameters

  • T

Hierarchy

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