Vertex Viewer SDK
    Preparing search index...

    Function requiredProp

    • Returns a mapper that asserts a property on the input is not null or not defined.

      Type Parameters

      • T
      • P extends string | number | symbol

      Parameters

      • prop: P

        The prop to assert.

      Returns Func<T, NonNullable<T[P]>>

      A mapper that returns the property's value.