Prelude API
    Preparing search index...

    Function predicate

    • Turns an assert into a type guard: true when it accepts, false when it throws an AssertionError.

      Type Parameters

      • T

      Parameters

      Returns (value: unknown) => value is T