Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Number/IsZero"

Index

Type aliases

Type aliases

IsZero

IsZero<N>: _IsZero<IterationOf<N>>

Check whether a Number is null or not

Type parameters

returns

Boolean

example

import {N} from 'ts-toolbelt'

type test0 = N.IsZero<'0'>  // True
type test1 = N.IsZero<'-7'> // False
type test2 = N.IsZero<'7'>  // False

_IsZero

_IsZero<N>: { '-': 0; '+': 0; '0': 1; }[N[4]]

Type parameters

Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.