Names

FUNCTION

isTsEntityType

@skmtc/lang-typescript 0.19.1

Type guard - whether an opaque type string is one this language knows.

Signature

import { isTsEntityType } from '@skmtc/lang-typescript'

isTsEntityType(type: string): type is TsEntityType

Parameters

type, string required

Returns

type is TsEntityType