Variables
Const isCharacter
isCharacter: (Anonymous function) = isNewType((x: string): x is Character => x.length === 1)
Const isEmptyString
isEmptyString: (Anonymous function) = isNewType((x: string): x is EmptyString => x === '')
Const isInteger
isInteger: (Anonymous function) = isNewType<number, Integer>((n): n is Integer => Number.isInteger(n))
Const isNegative
isNegative: (Anonymous function) = isNewType((x: number): x is Negative => x < 0)
Const isNegativeInteger
isNegativeInteger: (Anonymous function) = isNewType((n: number): n is NegativeInteger =>_isNegativeInteger(n),)
Const isNonEmptyString
isNonEmptyString: (Anonymous function) = isNewType((x: string): x is NonEmptyString => x !== '')
Const isNonNegative
isNonNegative: (Anonymous function) = isNewType((x: number): x is NonNegative => _isNonNegative(x))
Const isNonNegativeInteger
isNonNegativeInteger: (Anonymous function) = isNewType((n: number): n is NonNegativeInteger =>_isNonNegativeInteger(n),)
Const isNonPositive
isNonPositive: (Anonymous function) = isNewType((n: number): n is NonPositive => _isNonPositive(n))
Const isNonPositiveInteger
isNonPositiveInteger: (Anonymous function) = isNewType((n: number): n is NonPositiveInteger =>_isNonPositiveInteger(n),)
Const isNonZero
isNonZero: (Anonymous function) = isNewType((x: number): x is NonZero => x !== 0)
Const isNonZeroInteger
isNonZeroInteger: (Anonymous function) = isNewType((x: number): x is NonZeroInteger => _isNonZeroInteger(x))
Const isPositive
isPositive: (Anonymous function) = isNewType((x: number): x is Positive => x > 0)
Const isPositiveInteger
isPositiveInteger: (Anonymous function) = isNewType((n: number): n is PositiveInteger =>_isPositiveInteger(n),)
Const isZero
isZero: (Anonymous function) = isNewType((x: number): x is Zero => x === 0)
@typed/new-type