onrails
    Preparing search index...
    • The None value — represents expected absence. Not a failure.

      Type Parameters

      • T = never

      Returns Maybe<T>

      const cached: Maybe<User> = cache.has(id) ? some(cache.get(id)) : none();