Setu-TS
    Preparing search index...

    Function fromNullable

    • Converts a nullable value to an Option.

      Type Parameters

      • T

        The contained value type

      Parameters

      • value: T | null | undefined

        The possibly null/undefined value

      Returns Option<T>

      Some when the value is neither null nor undefined, else None

      0.1.0