Add invariant



    Jose Romero

    Remix TypeScript public recipes

    This line is verifying that the value argument is not empty.

    Library: remix

    Shortcut: remix.invariant.non-empty

    import invariant from "tiny-invariant";
    invariant(value.length > 0, "value must not be empty")
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.