Function toPlainObjectOfTrue

Filter props from object x whose values are true.

  • Parameters

    • x: unknown

    Returns undefined | {
        [key: PropertyKey]: true;
    }