isguard-ts
    Preparing search index...

    Type Alias MaybeTypeGuard<T>

    MaybeTypeGuard: UnionTypeGuard<[null, T]> & { unbox(): TypeGuard<T> }

    A TypeGuard for T | null.

    Returned by isMaybe and TypeGuard.maybe.

    Type Parameters

    • T

      The base type that may be null

    Type Declaration