ts-data-forge
    Preparing search index...
    none: None = ...

    The singleton instance representing None (an empty Optional).

    const someValue = Optional.some({ id: 1 });

    const noneValue = Optional.none;

    assert.isTrue(Optional.isSome(someValue));

    assert.isTrue(Optional.isNone(noneValue));