{
  "id": "fn-array-compact",
  "dataComponent": "array",
  "heading": {
    "title": "compact",
    "badges": ["Array"]
  },
  "synopsis": "Removes falsey values from arrays (0, false, or empty string as appropriate).",
  "codeBlocks": [
    "extend(\"array\")\n\nsput( array:compact([0,1,0,2]) )\n# => [1,2]"
  ],
  "notes": [
    "For int[], removes zeros. For bool[], removes false. For str[], removes empty strings."
  ]
}
