Function isBigIntLiteralType

  • Test if a type is a BigIntLiteralType.

    Parameters

    • type: Type

    Returns type is BigIntLiteralType

    Example

    declare const type: ts.Type;

    if (isBigIntLiteralType(type)) {
    // ...
    }