better-returns
    Preparing search index...

    Function is_some

    • Checks if an Option is of type 'some'.

      Type Parameters

      • T

      Parameters

      • option: Option<T>

        The Option to check.

      Returns option is Some<T>

      True if the option is 'some', false otherwise.