Function isTypeNumber

  • Example


    import { isTypeNumber } from 'type-guard-helpers'
    const test = 1 as unknown;
    if (isTypeNumber(test)) {
    test + 3;
    }

    Type Parameters

    • Value extends unknown

    • Result extends number = number

    Parameters

    • value: Value

    Returns value is Combine<Value, Result>

Generated using TypeDoc