{
  "id": "fn-array-drop_while",
  "dataComponent": "array",
  "heading": {
    "title": "drop_while",
    "badges": ["Array", "PARTIAL"]
  },
  "synopsis": "Removes elements from the start of the array while the predicate returns true. Partial and placeholder usage supported.",
  "codeBlocks": [
    "extend(\"array\")\n\narr = [1,2,3,4,1,2,3]\nsput(array:drop_while(x => x < 3, arr))\n# => [3,4,1,2,3]\n\n# Partial usage:\ndw = array:drop_while(x => x < 4)\nsput(dw(arr))\n# => [4,1,2,3]\n\n# Placeholder usage:\np = array:drop_while(_, arr)\nsput(p(x => x != 3))\n# => [3,4,1,2,3]"
  ],
  "notes": [
    "First argument: predicate function.",
    "Second argument: array.",
    "Skips elements while predicate returns true; returns remainder.",
    "Partial and placeholder usage supported."
  ]
}
