Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IsScalar<T>

Determines if variable is of type Scalar.

Type parameters

  • T

Hierarchy

  • IsScalar

Implements

  • any

Index

Constructors

Methods

Constructors

constructor

  • Ctor.

    Parameters

    • maybeScalar: T

      Variable to check.

    • Default value hasTrueResult: UnaryFunction<T, boolean> = new HasTrueResult('isScalar')

      Check if function with true result exists.

    Returns IsScalar

Methods

isScalar

  • isScalar(): true

value

  • value(): boolean

Generated using TypeDoc