Function isStringMappingType

  • Test if a type is a StringMappingType.

    Parameters

    • type: Type

    Returns type is StringMappingType

    Example

    declare const type: ts.Type;

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