flowr

  • Docs
  • Examples
Docs Menu
  • Getting started
  • Conditionals
    • Maybe
    • Either
    • Flip
    • Reverse
    • Order
    • One
    • Some
    • Constant
    • Just
    • Nothing
    • Pure
  • Schedulers
    • Await
    • Stream
    • Delay
    • Debounce
    • Throttle

Some

import { Some } from 'flowr';

Some will render only the children located at the specified indices.

Some will not change the children order. See Order if you are looking to render specific children in a specific order.
A B C
// Will render:
A C

If the at prop is not provided, nothing will be rendered.

A B C
// Will render:

Props

NameTypeDefaultDescription
at[number]-An array of indices corresponding to the children we want to render.

See also One

Contribute on Github! Edit this section.