onrails
    Preparing search index...
    • Type-narrowing predicate: returns true when the value is Some.

      Type Parameters

      • T

      Parameters

      Returns maybe is Some<T>

      if (isSome(m)) {
      console.log(m.value); // narrowed to Some branch
      }