Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollectionRandomOptions

Hierarchy

  • CollectionRandomOptions

Index

Properties

returnType?: "values" | "keys" | "blocks"

Random returns only value(s) by default, but you can specify what to return using this option

unique?: boolean

Random returns non-unique elements by default, but you can request unique elements using this option. Please note that this reduces performance.

Generated using TypeDoc