Skip to content

min() and max() return null when invalid arguments provided #121

Open
@JLa2r

Description

@JLa2r

The min() and max() methods can return null (as a result of the .sortBy()) but this is not mentioned in the documentation. The .d.ts file also only indicates that it will return a Dayjs (not Dayjs | null).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions