Skip to content

Add helper for common queries #3

@peterleiva

Description

@peterleiva

There's case which I have to query for common environment all the time, having to typing env("<environment>") can be cumbersome.

Add utility function as an alias to common environment query
Example:
env("development") can have env.isDev, the same can be applied to env.isProd and so on.

That utilities can be functions or simple values without needing to calling a function

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions