Skip to content

jin-frame / tools/type-narrowing/isValidPrimitiveType / isValidPrimitiveType

Function: isValidPrimitiveType()

isValidPrimitiveType(value): value is string | number | boolean

Defined in: src/tools/type-narrowing/isValidPrimitiveType.ts:3

Parameters

value

unknown

Returns

value is string | number | boolean